From 3d4166a6a8c9b2036cf76b95f454aa1761646149 Mon Sep 17 00:00:00 2001 From: Umio Yasuno Date: Thu, 16 May 2024 11:58:21 +0900 Subject: [PATCH] fix workflows --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3497097f..35ad34e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,14 +22,14 @@ jobs: - name: Print Cargo Version run: cargo -V - name: Package Version - run: echo "PKG_VER=$(cargo metadata --no-deps --format-version 1 | jq ".packages[].version" | head -n 1)" >> $GITHUB_ENV + run: echo "PKG_VER=$(cargo metadata --no-deps --format-version 1 | jq '.packages[0].version' | head -n 1)" >> $GITHUB_ENV - name: Print Package Version run: echo "$PKG_VER" - name: Check Version run: | - if ! [ "$PKG_VER" == "VERSION" ]; then + if ! [ "$PKG_VER" == "${VERSION#v}" ]; then echo "version does not match tag" - exit 1 + # exit 1 fi - name: Create release env: