There was an error while loading. Please reload this page.
1 parent ce3e916 commit e445037Copy full SHA for e445037
1 file changed
.github/workflows/release.yml
@@ -139,19 +139,11 @@ jobs:
139
run: |
140
cd src
141
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
150
151
bazel build --show_timestamps --copt=-O3 --verbose_failures \
152
-- //software:unix_full_system_tar_gen
153
154
- ARTIFACT_NAME="unix_full_system-${VERSION}-${PLATFORM}.tar.gz"
+ ARTIFACT_NAME="unix_full_system_${TAG}_${{ matrix.platform }}.tar.gz"
155
mv bazel-bin/software/unix_full_system_tar_gen.tar.gz "${{ runner.temp }}/$ARTIFACT_NAME"
156
gh release upload "$TAG" "${{ runner.temp }}/$ARTIFACT_NAME"
157
0 commit comments