We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b49b337 commit ea62eb9Copy full SHA for ea62eb9
.github/workflows/swift-toolchain.yml
@@ -3176,8 +3176,14 @@ jobs:
3176
env:
3177
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3178
run: |
3179
+ branch_version_string=${{ inputs.swift_version || '0.0.0' }}
3180
+ if [[ $branch_version_string == "0.0.0" ]]; then
3181
+ latest="true"
3182
+ else
3183
+ latest="false"
3184
+ fi
3185
# Create Release
- gh release create ${{ needs.context.outputs.swift_tag }} -R ${{ github.repository }}
3186
+ gh release create ${{ needs.context.outputs.swift_tag }} -R ${{ github.repository }} --latest=${latest}
3187
3188
# AMD64
3189
cd ${{ github.workspace }}/tmp/amd64
0 commit comments