Skip to content

Commit 5d3de6d

Browse files
authored
Merge pull request #1294 from input-output-hk/jpraynaud/1292-rename-gpg-public-key-release
Rename GPG public key in releases
2 parents 737ed8a + 358788e commit 5d3de6d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/scripts/sign-distribution.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ main() {
1818
chmod 700 gpghome
1919
echo "$GPG_SECRET_KEY" | gpg --homedir gpghome --batch --import
2020
gpg --homedir gpghome --list-secret-keys
21-
gpg --homedir gpghome --export --armor [email protected] > ./package/gpg-public.key
21+
gpg --homedir gpghome --export --armor [email protected] > ./package/public-key.gpg
2222
cd ./package
2323
find . -type f -print | grep -v CHECKSUM | sort -n | xargs -I '{}' sha256sum '{}' > ./CHECKSUM
2424
gpg --homedir ../gpghome --clear-sign ./CHECKSUM

.github/workflows/scripts/verify-distribution.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ You must see:
5151
\`\`\`
5252
./***YOUR_ASSET_FILE***: OK
5353
\`\`\`
54-
* **Step 5**: Download the public key file from this link [gpg-public.key](${DOWNLOAD_URL_BASE}/gpg-public.key) and save it in the same folder as the asset
54+
* **Step 5**: Download the public key file from this link [public-key.gpg](${DOWNLOAD_URL_BASE}/public-key.gpg) and save it in the same folder as the asset
5555
* **Step 6**: Then import the GPG public key:
5656
\`\`\`
57-
gpg --import ./gpg-public.key
57+
gpg --import ./public-key.gpg
5858
\`\`\`
5959
You must see something like:
6060
\`\`\`
@@ -64,7 +64,7 @@ gpg: imported: 1
6464
\`\`\`
6565
* **Step 7**: Then verify the GPG signature of the checksum file:
6666
\`\`\`
67-
gpg --verify ./gpg-public.key ./CHECKSUM.asc
67+
gpg --verify ./public-key.gpg ./CHECKSUM.asc
6868
\`\`\`
6969
You must see something like:
7070
\`\`\`

0 commit comments

Comments
 (0)