From b645e00a31326f8a23452230ab2f4f3f5a32095a Mon Sep 17 00:00:00 2001 From: Ottomated Date: Fri, 3 Mar 2023 19:41:02 -0800 Subject: [PATCH] version getter --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e16e3bd3..39c003fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,7 +59,7 @@ jobs: mv target/aarch64-apple-darwin/release/create-o7-app artifacts/create-o7-app-macos-arm64 - name: Get version id: get_version - run: echo "version=$(cargo pkgid | cut -d@ -f2)" >> $GITHUB_OUTPUT + run: echo "version=$(grep "version" Cargo.toml | head -n1 | cut -d '"' -f2)" >> $GITHUB_OUTPUT - name: Release Binaries uses: softprops/action-gh-release@v1 with: