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
|
- 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 }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user