File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1616 - uses : actions/checkout@v4
1717 - name : Get the release version from the tag
1818 if : env.VERSION == ''
19- run : echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
19+ run : |
20+ # Strip the 'v' prefix from the tag
21+ echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
2022 - name : Show the version
2123 run : |
2224 echo "version is: $VERSION"
3032 - name : Create GitHub release
3133 env :
3234 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33- run : gh release create $VERSION --draft --verify-tag --title $VERSION
35+ run : gh release create "v $VERSION" --draft --verify-tag --title "v $VERSION"
3436 outputs :
3537 version : ${{ env.VERSION }}
3638
@@ -179,4 +181,4 @@ jobs:
179181 shell : bash
180182 run : |
181183 version="${{ needs.create-release.outputs.version }}"
182- gh release upload "$version" ${{ env.ASSET }} ${{ env.ASSET_SUM }}
184+ gh release upload "v $version" ${{ env.ASSET }} ${{ env.ASSET_SUM }}
Original file line number Diff line number Diff line change 11[package ]
22name = " mbase"
3- version = " 0.2.3 "
3+ version = " 0.2.4 "
44edition = " 2021"
55description = " Universal base encode/decode/convert CLI"
66license = " MIT"
You can’t perform that action at this time.
0 commit comments