Skip to content

Commit bd14860

Browse files
Update release.yml
Co-Authored-By: Matthew John Cheetham <[email protected]>
1 parent f0f5c0a commit bd14860

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -292,18 +292,12 @@ jobs:
292292
run: |
293293
# Sign Debian package
294294
version=${{ needs.prereqs.outputs.version }}
295-
case ${{ matrix.runtime }} in
296-
*x64) arch=amd64 ;;
297-
*arm64) arch=arm64 ;;
298-
*arm) arch=armhf ;;
299-
esac
300-
mv out/linux/Packaging.Linux/Release/deb/gcm-linux_$arch.$version.deb .
301-
debsigs --sign=origin --verify --check gcm-linux_$arch.$version.deb
302-
295+
mv out/linux/Packaging.Linux/Release/deb/gcm-${{ matrix.runtime }}.$version.deb .
296+
debsigs --sign=origin --verify --check gcm-${{ matrix.runtime }}.$version.deb
303297
# Generate tarball signature file
304298
mv -v out/linux/Packaging.Linux/Release/tar/* .
305-
gpg --batch --yes --armor --output gcm-linux_$arch.$version.tar.gz.asc \
306-
--detach-sig gcm-linux_$arch.$version.tar.gz
299+
gpg --batch --yes --armor --output gcm-${{ matrix.runtime }}.$version.tar.gz.asc \
300+
--detach-sig gcm-${{ matrix.runtime }}.$version.tar.gz
307301
308302
- name: Upload artifacts
309303
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)