Skip to content

Commit

Permalink
Mark release latest only if published from main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode committed Jun 15, 2024
1 parent cde76fe commit 7a3ae43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:
name: Release ${{ needs.version.outputs.RELEASE_VERSION }}
tag: ${{ needs.version.outputs.RELEASE_VERSION }}
token: ${{ secrets.PUSH_PAT }}
makeLatest: ${{ github.ref == 'refs/heads/main' }}
update-version:
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit 7a3ae43

Please sign in to comment.