File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,15 +81,12 @@ jobs:
8181 git config user.name "github-actions[bot]"
8282 git config user.email "github-actions[bot]@users.noreply.github.com"
8383
84- - name : Install cargo-edit
85- run : cargo install cargo-edit
86-
8784 - name : Bump versions
8885 run : |
8986 # Bump each crate version
90- cd guard && cargo set- version " $VERSION" && cd ..
91- cd guard-lambda && cargo set- version " $VERSION" && cd ..
92- cd guard-ffi && cargo set- version " $VERSION" && cd ..
87+ sed -i 's/^version = "[^"]*"/ version = "'" $VERSION"'"/' guard/Cargo.toml
88+ sed -i 's/^version = "[^"]*"/ version = "'" $VERSION"'"/' guard-lambda/Cargo.toml
89+ sed -i 's/^version = "[^"]*"/ version = "'" $VERSION"'"/' guard-ffi/Cargo.toml
9390
9491 # Update cross-crate dependency references
9592 sed -i "s/cfn-guard = { version = \"[^\"]*\"/cfn-guard = { version = \"$VERSION\"/" guard-lambda/Cargo.toml
You can’t perform that action at this time.
0 commit comments