mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-20 11:57:50 +02:00
Revert "Avoid reusing artifact name to enable GH action upgrade"
This reverts commit 7649ac1331fd1e63f0671c0ccffa8451ed0d1593.
This commit is contained in:
parent
7649ac1331
commit
3d19e69463
@ -9,7 +9,7 @@ flags:
|
||||
goos: darwin
|
||||
goarch: amd64
|
||||
|
||||
binary: hishtory-{{ .Os }}-{{ .Arch }}-bin
|
||||
binary: hishtory-{{ .Os }}-{{ .Arch }}
|
||||
|
||||
ldflags:
|
||||
- '{{ .Env.VERSION_LDFLAGS }}'
|
||||
|
@ -9,7 +9,7 @@ flags:
|
||||
goos: darwin
|
||||
goarch: arm64
|
||||
|
||||
binary: hishtory-{{ .Os }}-{{ .Arch }}-bin
|
||||
binary: hishtory-{{ .Os }}-{{ .Arch }}
|
||||
|
||||
ldflags:
|
||||
- '{{ .Env.VERSION_LDFLAGS }}'
|
||||
|
4
.github/workflows/slsa-releaser.yml
vendored
4
.github/workflows/slsa-releaser.yml
vendored
@ -126,10 +126,10 @@ jobs:
|
||||
sleep 60
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: hishtory-darwin-arm64-bin
|
||||
name: hishtory-darwin-arm64
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: hishtory-darwin-amd64-bin
|
||||
name: hishtory-darwin-amd64
|
||||
- name: Download and sign the latest executables
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
@ -3,8 +3,8 @@ import time
|
||||
import subprocess
|
||||
|
||||
def main():
|
||||
assertPresentAndNotAscii("hishtory-darwin-arm64-bin")
|
||||
assertPresentAndNotAscii("hishtory-darwin-amd64-bin")
|
||||
assertPresentAndNotAscii("hishtory-darwin-arm64")
|
||||
assertPresentAndNotAscii("hishtory-darwin-amd64")
|
||||
|
||||
print("before sha1sum:")
|
||||
os.system("sha1sum hishtory-* 2>&1")
|
||||
@ -17,8 +17,6 @@ def main():
|
||||
print("signing...")
|
||||
os.system("""
|
||||
set -emo pipefail
|
||||
mv hishtory-darwin-arm64-bin hishtory-darwin-arm64
|
||||
mv hishtory-darwin-amd64-bin hishtory-darwin-amd64
|
||||
cp hishtory-darwin-arm64 hishtory-darwin-arm64-unsigned
|
||||
cp hishtory-darwin-amd64 hishtory-darwin-amd64-unsigned
|
||||
echo $MACOS_CERTIFICATE | base64 -d > certificate.p12
|
||||
|
Loading…
x
Reference in New Issue
Block a user