Skip to content

Commit 7ed5a96

Browse files
author
3alpha
committed
Fix RC version handling
1 parent 39fe57c commit 7ed5a96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/get-version-info/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
id: get_version
3333
shell: bash
3434
run: |
35-
VERSION=$(grep -E '^version = "[0-9]+\.[0-9]+\.[0-9]+"$' ${{ inputs.cargo_toml_path }} | head -n 1 | cut -d'"' -f2)
35+
VERSION=$(grep -E '^version = "[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?"$' ${{ inputs.cargo_toml_path }} | head -n 1 | cut -d'"' -f2)
3636
echo "version=$VERSION" >> $GITHUB_OUTPUT
3737
3838
- name: Check if version is a release candidate

0 commit comments

Comments
 (0)