Skip to content

Commit 50f6194

Browse files
fix(ci): restore v0.1.{run_number} tag format and remove prerelease flag for main builds
Agent-Logs-Url: https://github.com/InterestingSoftware/SproutGit/sessions/78171281-d581-42d0-843b-e359bf7ec6b6 Co-authored-by: liam-russell <17897133+liam-russell@users.noreply.github.com>
1 parent f5fd213 commit 50f6194

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,7 @@ jobs:
262262
merge-multiple: true
263263
- uses: softprops/action-gh-release@v2
264264
with:
265-
tag_name: ${{ github.ref == 'refs/heads/main' && format('main-{0}', github.run_number) || github.ref_name }}
266-
name: ${{ github.ref == 'refs/heads/main' && format('Main build {0}', github.run_number) || github.ref_name }}
265+
tag_name: ${{ github.ref == 'refs/heads/main' && format('v0.1.{0}', github.run_number) || github.ref_name }}
267266
files: artifacts/**
268267
generate_release_notes: true
269-
prerelease: ${{ github.ref == 'refs/heads/main' || contains(github.ref_name, '-') }}
268+
prerelease: ${{ contains(github.ref_name, '-') }}

0 commit comments

Comments
 (0)