set the tag for github release to the last git tag

This commit is contained in:
2025-01-30 15:18:52 +01:00
parent e78200a39d
commit dac76efdd1

View File

@@ -92,8 +92,11 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: windows-dist
- name: get latest version tag
run: echo "RELEASE_TAG=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV
- uses: ncipollo/release-action@v1
with:
artifacts: "amor*.tar.gz,*.zip"
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
tag: ${{ env.RELEASE_TAG }}