Skip to content

Commit 90031cb

Browse files
committed
neaten
1 parent 0102b5f commit 90031cb

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/release.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,10 @@ jobs:
152152
# For the release, also generate a tar.gz file
153153
cpack --preset "$config" -G ZIP
154154
cpack --preset "$config" -G TGZ
155-
156155
triggering_ref=${{ github.ref_name }}
157-
version=${triggering_ref#v}
158-
os_name=${{ matrix.os }}
159-
arch_name=${{ matrix.platform }}
160-
base=$(pwd)/slang-${version}-${os_name}-${arch_name}
161-
156+
base=$(pwd)/slang-${triggering_ref#v}-${{matrix.os}}-${{matrix.platform}}
162157
mv "$(pwd)/build/dist-${config}/slang.zip" "${base}.zip"
163158
echo "SLANG_BINARY_ARCHIVE_ZIP=${base}.zip" >> $GITHUB_OUTPUT
164-
165159
mv "$(pwd)/build/dist-${config}/slang.tar.gz" "${base}.tar.gz"
166160
echo "SLANG_BINARY_ARCHIVE_TAR=${base}.tar.gz" >> $GITHUB_OUTPUT
167161

0 commit comments

Comments
 (0)