fix: sed not installed, release pipeline fails
This commit is contained in:
parent
725ebcfbfd
commit
16218a8da7
1 changed files with 3 additions and 1 deletions
|
|
@ -22,7 +22,9 @@ jobs:
|
|||
run: |
|
||||
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
||||
# Manual trigger: read version from Cargo.toml
|
||||
VERSION=$(grep '^version' Cargo.toml | head -1 | sed 's/.*"\(.*\)".*/\1/')
|
||||
VERSION_LINE=$(grep '^version' Cargo.toml | head -1)
|
||||
VERSION="${VERSION_LINE#*\"}"
|
||||
VERSION="${VERSION%\"*}"
|
||||
TAG="v${VERSION}"
|
||||
|
||||
# Check if tag already exists
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue