Skip to content

Commit

Permalink
adjust cargo.toml deps
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisInSky committed Nov 5, 2024
1 parent 4a6afeb commit 40bd94f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/rs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
shell: bash
outputs:
rc_branch: ${{ steps.release_branch.outputs.rc_branch }}
r_version: ${{ steps.release_info.outputs.version }}

steps:
- name: Checkout Code
Expand Down Expand Up @@ -111,6 +112,8 @@ jobs:

- name: Publish Crates to Crates.io
run: |
for CRATE in $SAILS_CRATES; do
echo "Publishing $CRATE"
VERSION=${{ needs.prepare.outputs.r_version }}
for SAILS_CRATE in $SAILS_CRATES; do
sed -i "/^\s*${SAILS_CRATE} = {.*}/ s/}/, version = \"=${VERSION}\" }/" Cargo.toml
done
cat Cargo.toml

0 comments on commit 40bd94f

Please sign in to comment.