From 08819c5b8a3a2eec8bc41dcf5606760e334b84e1 Mon Sep 17 00:00:00 2001 From: Tarrence van As Date: Fri, 9 Feb 2024 14:52:18 -0500 Subject: [PATCH] Fix release script --- .github/workflows/release.yml | 4 ++-- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index deef949..1580cea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: id: release_info run: | cargo install cargo-get - echo "tag_name=$(cargo get workspace.package.version)" >> $GITHUB_OUTPUT + echo "tag_name=$(cargo get package.version)" >> $GITHUB_OUTPUT release: name: ${{ matrix.job.target }} (${{ matrix.job.os }}) @@ -129,7 +129,7 @@ jobs: - id: version_info run: | cargo install cargo-get - echo "version=$(cargo get workspace.package.version)" >> $GITHUB_OUTPUT + echo "version=$(cargo get package.version)" >> $GITHUB_OUTPUT - name: Display structure of downloaded files run: ls -R artifacts - run: gh release create v${{ steps.version_info.outputs.version }} ./artifacts/*.gz --generate-notes --draft diff --git a/Cargo.lock b/Cargo.lock index 966e306..84c9959 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4410,7 +4410,7 @@ dependencies = [ [[package]] name = "slot" -version = "0.5.10" +version = "0.5.9" dependencies = [ "anyhow", "axum", diff --git a/Cargo.toml b/Cargo.toml index 48de8d1..de7a96c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "slot" -version = "0.5.10" +version = "0.5.9" edition = "2021" [dependencies]