diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80d5bb67..cdbf541d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,8 @@ jobs: - name: Package run: | - tar -czf tomo-linux-x86_64.tar.gz build/* + TAG=${GITHUB_REF#refs/tags/} + tar -C build -czf tomo-linux-x86_64.tar.gz tomo@${TAG} sha256sum tomo-linux-x86_64.tar.gz > tomo-linux-x86_64.tar.gz.sha256 - name: Upload @@ -62,7 +63,8 @@ jobs: - name: Package run: | - tar -czf tomo-linux-aarch64.tar.gz build/* + TAG=${GITHUB_REF#refs/tags/} + tar -C build -czf tomo-linux-aarch64.tar.gz tomo@{TAG} sha256sum tomo-linux-aarch64.tar.gz > tomo-linux-aarch64.tar.gz.sha256 - name: Upload @@ -89,7 +91,8 @@ jobs: - name: Package run: | - tar -czf tomo-macos-universal.tar.gz build/* + TAG=${GITHUB_REF#refs/tags/} + tar -C build -czf tomo-macos-universal.tar.gz tomo@${TAG} shasum -a 256 tomo-macos-universal.tar.gz > tomo-macos-universal.tar.gz.sha256 - name: Upload |
