From 5c4636423f1a2eb253766e34d39d3e3e9ead4255 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 30 Aug 2021 16:38:46 -0700 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5a393e0c..dde54e68 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -336,11 +336,17 @@ jobs: run: dotnet nuget push bebop-runtime-cs-${{ steps.dotenv.outputs.version }}/bebop.${{ steps.dotenv.outputs.version }}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate - name: Publish Rust Tools - run: cargo publish + run: | + sed 's/^version \?= \?.*/version = "${{ steps.dotenv.outputs.version }}"/' Cargo.toml > tmp + mv tmp Cargo.toml + cargo publish --allow-dirty working-directory: ${{env.TOOLS_ROOT}}/cargo - name: Publish Rust Runtime - run: cargo publish + run: | + sed 's/^version \?= \?.*/version = "${{ steps.dotenv.outputs.version }}"/' Cargo.toml > tmp + mv tmp Cargo.toml + cargo publish --allow-dirty working-directory: ${{env.RUST_RUNTIME_ROOT}} - name: Publish NodeJS Tools