Skip to content

Commit

Permalink
Drone scripts: Re-enable base64 wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
zerok committed Aug 24, 2023
1 parent 9f95a0c commit ac0d665
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/drone_publish_tag_enterprise.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ dagger run go run ./cmd rpm \
--destination=${local_dst} \
--gcp-service-account-key-base64=${GCP_KEY_BASE64} \
--sign=true \
--gpg-private-key-base64=${GPG_PRIVATE_KEY} \
--gpg-public-key-base64=${GPG_PUBLIC_KEY} \
--gpg-private-key-base64=$(echo ${GPG_PRIVATE_KEY} | base64 -w 0) \
--gpg-public-key-base64=$(echo ${GPG_PUBLIC_KEY} | base64 -w 0) \
--gpg-passphrase-base64=$(echo $GPG_PASSPHRASE | base64 -w 0) > rpms.txt

# For Windows we distribute zips and exes
Expand Down
6 changes: 3 additions & 3 deletions scripts/drone_publish_tag_grafana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ dagger run --silent go run ./cmd rpm \
--destination=${local_dst} \
--gcp-service-account-key-base64=${GCP_KEY_BASE64} \
--sign=true \
--gpg-private-key-base64=${GPG_PRIVATE_KEY} \
--gpg-public-key-base64=${GPG_PUBLIC_KEY} \
--gpg-passphrase-base64=$(echo $GPG_PASSPHRASE | base64 -w 0) > rpms.txt
--gpg-private-key-base64=$(echo ${GPG_PRIVATE_KEY} | base64 -w 0) \
--gpg-public-key-base64=$(echo ${GPG_PUBLIC_KEY} | base64 -w 0) \
--gpg-passphrase-base64=$(echo ${GPG_PASSPHRASE} | base64 -w 0) > rpms.txt

# For Windows we distribute zips and exes
dagger run --silent go run ./cmd zip \
Expand Down

0 comments on commit ac0d665

Please sign in to comment.