Skip to content

Commit

Permalink
add checksum signing
Browse files Browse the repository at this point in the history
  • Loading branch information
seemk committed Jan 8, 2025
1 parent 391aa39 commit 0a1d0a0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ stages:
- npm run prepare-release-artifact
- shasum -a 256 dist/* > dist/checksums.txt

.checksums-sign: &checksums-sign
stage: checksum-sign
extends: .submit-signing-request
variables:
ARTIFACT: dist/checksums.txt
SIGN_TYPE: GPG

oss-scan:
stage: scan
extends: .oss-scan
Expand All @@ -28,6 +35,7 @@ release:
- if: $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+.*/
script:
- *prepare_dist
- *checksums_sign
- npm run release:github
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
- npm publish ./dist/splunk-otel-${CI_COMMIT_REF_NAME:1}.tgz
Expand Down

0 comments on commit 0a1d0a0

Please sign in to comment.