Skip to content

Commit 615cd74

Browse files
authored
Merge pull request #31 from InterestingSoftware/copilot/audit-fix-github-ci-workflow
fix(ci): restore v0.1.{run_number} release tags and drop prerelease flag for main builds
2 parents f5fd213 + 50f6194 commit 615cd74

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)