Skip to content

Commit 7a3ae43

Browse files
committed
Mark release latest only if published from main branch
1 parent cde76fe commit 7a3ae43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: .github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ jobs:
112112
name: Release ${{ needs.version.outputs.RELEASE_VERSION }}
113113
tag: ${{ needs.version.outputs.RELEASE_VERSION }}
114114
token: ${{ secrets.PUSH_PAT }}
115+
makeLatest: ${{ github.ref == 'refs/heads/main' }}
115116
update-version:
116117
runs-on: ubuntu-latest
117118
needs:

0 commit comments

Comments
 (0)