Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb85a925

Browse files
feat: publish detached signatures to GCS bucket releases.coder.com
1 parentd47b7d3 commitb85a925

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

‎.github/workflows/release.yaml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,19 @@ jobs:
338338
GCLOUD_ACCESS_TOKEN:${{ steps.gcloud_auth.outputs.access_token }}
339339
JSIGN_PATH:/tmp/jsign-6.0.jar
340340

341+
-name:Publish signatures to GCS
342+
if:${{ !inputs.dry_run }}
343+
run:|
344+
set -euxo pipefail
345+
346+
version="$(./scripts/version.sh)"
347+
348+
for file in ./site/out/bin/*.asc; do
349+
filename=$(basename "$file")
350+
# Upload the signature to GCS, but only if it doesn't already exist
351+
gcloud storage cp "$file" "gs://releases.coder.com/coder-cli/${version}/${filename}" --if-generation-match=0
352+
done
353+
341354
-name:Delete Apple Developer certificate and API key
342355
run:rm -f /tmp/{apple_cert.p12,apple_cert_password.txt,apple_apikey.p8}
343356

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp