Skip to content

Commit

Permalink
ci: Switch to a basic sed for version updates
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed May 8, 2024
1 parent dda1d28 commit b020daa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ jobs:
Write-Host $VERSION
- name: Set Package Version
uses: sandstromviktor/[email protected]
with:
file: Cargo.toml
key: package.version
value: ${{ env.VERSION }}
run: sed -i "s/^version\s*=\s*\".*\"/version = \"$VERSION\"/g" Cargo.toml

- name: Stash Versioned Cargo.toml
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit b020daa

Please sign in to comment.