fix: CI failing due to conflicting tags

The CI automatically creates a tag based on the GitHub run number, however, the CI is presently repeatedly failing due to tags with those run numbers already existing (likely from the fork); this fixes that by bumping the prefix to v1.1 rather than v1.0
This commit is contained in:
blankdvth
2025-03-31 02:22:54 -04:00
parent d0e05e07cc
commit 9ce9fc64f6

View File

@@ -60,7 +60,7 @@ jobs:
- name: Set version tag and zip file name - name: Set version tag and zip file name
id: version id: version
run: | run: |
VERSION="v1.0.${{ github.run_number }}" VERSION="v1.1.${{ github.run_number }}"
if [[ $GITHUB_REF == 'refs/heads/dev' ]]; then if [[ $GITHUB_REF == 'refs/heads/dev' ]]; then
TAG="Prerelease $VERSION" TAG="Prerelease $VERSION"
else else
@@ -81,7 +81,7 @@ jobs:
name: ${{ env.TAG }} name: ${{ env.TAG }}
artifacts: publish/${{ env.ZIP_NAME }} artifacts: publish/${{ env.ZIP_NAME }}
prerelease: ${{ contains(github.ref, 'dev') }} prerelease: ${{ contains(github.ref, 'dev') }}
tag: v1.0.${{ github.run_number }} tag: v1.1.${{ github.run_number }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}