File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -57,18 +57,13 @@ jobs:
5757 if : ${{ contains(github.ref, 'refs/heads/release/') }}
5858 run : cargo package -p hyperlight-wasm
5959 shell : bash
60- - name : Install minver_rs
61- run : |
62- cargo install minver_rs
63- shell : bash
6460 - name : Set HYPERLIGHTWASM_VERSION
6561 run : |
66- git fetch --tags || true
67- export MINVER_TAG_PREFIX="v"
68- export MINVER_AUTO_INCREMENT_LEVEL="Minor"
69- export MINVER_PRERELEASE_IDENTIFIER="preview"
70- echo "HYPERLIGHTWASM_VERSION=$(minver)" >> $GITHUB_ENV
71- echo "HYPERLIGHTWASM_VERSION=$(minver)"
62+ git fetch --tags
63+ version=$(echo "${{ github.ref }}" | sed -E 's#refs/heads/release/v##')
64+ echo "HYPERLIGHTWASM_VERSION=$version" >> $GITHUB_ENV
65+ echo "HYPERLIGHTWASM_VERSION=$version"
66+ if : ${{ contains(github.ref, 'refs/heads/release/') }}
7267 shell : bash
7368 - name : Download Wasm Modules
7469 uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments