Skip to content

Commit 1af1114

Browse files
committed
refactor: switch order to allow higher numbers to go to sf
1 parent 0fd1d7b commit 1af1114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/onRelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
with:
1717
# ternary-ish https://github.com/actions/runner/issues/409#issuecomment-752775072
1818
# if the version is 2.x we release it on the `sf` dist tag
19-
tag: ${{ startsWith( github.event.release.tag_name || inputs.tag, '2.') && 'sf' || 'latest'}}
19+
tag: ${{ startsWith( github.event.release.tag_name || inputs.tag, '1.') && 'latest' || 'sf'}}
2020
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
2121
secrets: inherit

0 commit comments

Comments
 (0)