ci: include version in release asset

This commit is contained in:
Hugo Renard 2024-11-27 10:09:30 +01:00
parent 0c5e5ca00a
commit 057bdfd9c9
Signed by: hougo
GPG key ID: 3A285FD470209C59

View file

@ -18,5 +18,6 @@ jobs:
- run: |
export XDG_CONFIG_HOME=$PWD/.config
export GITEA_SERVER_TOKEN=${{ secrets.GITHUB_TOKEN }}
mv ./artifact/keycloak-scim.jar ./artifact/keycloak-scim-${{ github.ref_name }}.jar
tea login add --url ${{ env.GITHUB_SERVER_URL }}
tea release create --asset ./artifact/keycloak-scim.jar --note "$(git-cliff -s all --current)" --repo "${{ github.repository }}" --tag "${{ github.ref_name }}" --title "${{ github.ref_name }}"
tea release create --asset ./artifact/keycloak-scim-${{ github.ref_name }}.jar --note "$(git-cliff -s all --current)" --repo "${{ github.repository }}" --tag "${{ github.ref_name }}" --title "${{ github.ref_name }}"