Skip to content

Commit e445037

Browse files
committed
naming
1 parent ce3e916 commit e445037

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -139,19 +139,11 @@ jobs:
139139
run: |
140140
cd src
141141
TAG="${{ needs.prepare_release.outputs.tag }}"
142-
VERSION=${TAG#v}
143-
144-
PLATFORM="${{ matrix.platform }}"
145-
if [ "$PLATFORM" = "ubuntu-x86" ]; then
146-
PLATFORM="linux_amd64"
147-
elif [ "$PLATFORM" = "mac-arm64" ]; then
148-
PLATFORM="macos_arm64"
149-
fi
150142
151143
bazel build --show_timestamps --copt=-O3 --verbose_failures \
152144
-- //software:unix_full_system_tar_gen
153145
154-
ARTIFACT_NAME="unix_full_system-${VERSION}-${PLATFORM}.tar.gz"
146+
ARTIFACT_NAME="unix_full_system_${TAG}_${{ matrix.platform }}.tar.gz"
155147
mv bazel-bin/software/unix_full_system_tar_gen.tar.gz "${{ runner.temp }}/$ARTIFACT_NAME"
156148
gh release upload "$TAG" "${{ runner.temp }}/$ARTIFACT_NAME"
157149

0 commit comments

Comments
 (0)