From 057bdfd9c952f156a1208535daf7baa76032f2ab Mon Sep 17 00:00:00 2001 From: Hugo Renard Date: Wed, 27 Nov 2024 10:09:30 +0100 Subject: [PATCH] ci: include version in release asset --- .forgejo/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/main.yml b/.forgejo/workflows/main.yml index 761f38e700..cf23425fc2 100644 --- a/.forgejo/workflows/main.yml +++ b/.forgejo/workflows/main.yml @@ -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 }}"