We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f50aed commit 59b13daCopy full SHA for 59b13da
.github/workflows/publish.yml
@@ -29,7 +29,7 @@ jobs:
29
export REFS_VERSION=${{ github.ref }}
30
export VERSION=$(echo $REFS_VERSION| cut -d'/' -f 3)
31
echo $VERSION
32
- sed -i -E "s/[0-9]+.[0-9]+.[0-9]+/$VERSION/g" Cargo.toml
+ sed -i -E "1,/[0-9]+.[0-9]+.[0-9]+/ s/[0-9]+.[0-9]+.[0-9]+/$VERSION/g" Cargo.toml
33
git config user.name github-actions
34
git config user.email github-actions@github.com
35
git add .
0 commit comments