Skip to content

Commit 26ef885

Browse files
authored
ci: update build workflow to set latest flag on release
1 parent 2506929 commit 26ef885

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
echo "NEXT_VERSION=$nextStrict" >> $GITHUB_ENV
8383
8484
- name: Create Draft Release
85-
uses: ncipollo/release-action@v1.11.1
85+
uses: ncipollo/release-action@v1.12.0
8686
if: ${{ github.event.inputs.publish == 'true' && github.event.inputs.dryrun == 'false' }}
8787
with:
8888
prerelease: true
@@ -382,10 +382,11 @@ jobs:
382382
histCoveragePath: historical-coverage.json
383383

384384
- name: Create Release
385-
uses: ncipollo/release-action@v1.11.1
385+
uses: ncipollo/release-action@v1.12.0
386386
if: ${{ env.SHOULD_DEPLOY == 'true' && github.event.inputs.dryrun == 'false' }}
387387
with:
388388
allowUpdates: true
389+
makeLatest: true
389390
draft: false
390391
tag: ${{ env.PKG_VERSION }}
391392
name: ${{ env.PKG_VERSION }}
@@ -398,7 +399,6 @@ jobs:
398399
if: ${{ github.event.inputs.updateCoverage == 'true' && github.event.inputs.dryrun == 'false' }}
399400
with:
400401
allowUpdates: true
401-
makeLatest: true
402402
tag: baseline
403403
omitBodyDuringUpdate: true
404404
omitNameDuringUpdate: true

0 commit comments

Comments
 (0)