We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d96897 commit ce47b07Copy full SHA for ce47b07
.github/workflows/release.yml
@@ -72,7 +72,9 @@ jobs:
72
ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }}
73
SECURITY_KEY_ID: ${{ secrets.SECURITY_KEY_ID }}
74
run: |
75
- bash ci/scripts/upload-release.sh dist/ obs://rust-mirror/installer/latest
+ version=`echo "${{ github.event.inputs.tag }}" | sed -E 's/^v?//; s/-.*//'`
76
+ [[ -z $version ]] && exit 1
77
+ bash ci/scripts/upload-release.sh dist/ obs://rust-mirror/installer/$version
78
79
- name: github release
80
uses: ncipollo/release-action@v1
0 commit comments