mirror of
https://github.com/edgegamers/poor-sharptimer.git
synced 2025-12-05 20:40:25 -08:00
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:
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
@@ -60,7 +60,7 @@ jobs:
|
||||
- name: Set version tag and zip file name
|
||||
id: version
|
||||
run: |
|
||||
VERSION="v1.0.${{ github.run_number }}"
|
||||
VERSION="v1.1.${{ github.run_number }}"
|
||||
if [[ $GITHUB_REF == 'refs/heads/dev' ]]; then
|
||||
TAG="Prerelease $VERSION"
|
||||
else
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
name: ${{ env.TAG }}
|
||||
artifacts: publish/${{ env.ZIP_NAME }}
|
||||
prerelease: ${{ contains(github.ref, 'dev') }}
|
||||
tag: v1.0.${{ github.run_number }}
|
||||
tag: v1.1.${{ github.run_number }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user