Skip to content

Commit f5f6f20

Browse files
committed
Use the branch name to create the release
Signed-off-by: James Sturtevant <[email protected]>
1 parent b60a313 commit f5f6f20

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/CreateRelease.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)