From 40bd94f24e26df91be2967eb5224db4ac9658ee3 Mon Sep 17 00:00:00 2001 From: Dennis Dyatlov Date: Tue, 5 Nov 2024 18:50:42 +0000 Subject: [PATCH] adjust cargo.toml deps --- .github/workflows/rs-release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rs-release.yml b/.github/workflows/rs-release.yml index b60bab1c..b591dd78 100644 --- a/.github/workflows/rs-release.yml +++ b/.github/workflows/rs-release.yml @@ -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 @@ -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