From 90031cb187b6aeefd9a9d2b8db52c9ed85c91cc7 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Wed, 10 Jul 2024 09:01:50 +0800 Subject: [PATCH] neaten --- .github/workflows/release.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f51b3e2100..a83119bf92 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -152,16 +152,10 @@ jobs: # For the release, also generate a tar.gz file cpack --preset "$config" -G ZIP cpack --preset "$config" -G TGZ - triggering_ref=${{ github.ref_name }} - version=${triggering_ref#v} - os_name=${{ matrix.os }} - arch_name=${{ matrix.platform }} - base=$(pwd)/slang-${version}-${os_name}-${arch_name} - + base=$(pwd)/slang-${triggering_ref#v}-${{matrix.os}}-${{matrix.platform}} mv "$(pwd)/build/dist-${config}/slang.zip" "${base}.zip" echo "SLANG_BINARY_ARCHIVE_ZIP=${base}.zip" >> $GITHUB_OUTPUT - mv "$(pwd)/build/dist-${config}/slang.tar.gz" "${base}.tar.gz" echo "SLANG_BINARY_ARCHIVE_TAR=${base}.tar.gz" >> $GITHUB_OUTPUT