From 8bac7b2329b204cbc2cf8638e254cc08b07c7990 Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Mon, 11 Dec 2023 09:18:50 -0500 Subject: [PATCH] Revert "try again" This reverts commit 4a4c661038f1c592c7535cefbf1f7f7d5022de37. --- .github/workflows/build-hatch.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build-hatch.yml b/.github/workflows/build-hatch.yml index a38c1b541..fae0dcf23 100644 --- a/.github/workflows/build-hatch.yml +++ b/.github/workflows/build-hatch.yml @@ -156,23 +156,19 @@ jobs: # perform the following transformation: X.Y.Z.devN -> X.Y.Z.N - name: Set project version id: version - if: ${{ matrix.job.target == 'x86_64-unknown-linux-gnu' }} run: |- old_version="$(hatch version)" - echo "Old version: $old_version" version="${old_version/dev/}" if [[ "$version" != "$old_version" ]]; then cd dist/app old_binary="$(ls)" - echo "Old binary: $old_binary" binary="${old_binary/$old_version/$version}" - echo "New binary: $binary" mv "$old_binary" "$binary" fi echo "version=$version" >> $GITHUB_OUTPUT - echo "New version: $version" + echo "$version" - name: Archive binary run: |-