Skip to content

Commit da28785

Browse files
authored
Revert "Adjust APT release script during GPG key rotation (#464)" (#466)
This reverts commit 2a98589.
1 parent fdc2b77 commit da28785

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

scripts/new-public-key.gpg

Lines changed: 0 additions & 14 deletions
This file was deleted.

scripts/publish-apt-packages.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ aptly snapshot create new-snapshot from repo new-repo
5050
printf "\n>>> Merging snapshots \n"
5151
aptly snapshot pull -no-remove -architectures="amd64,i386,arm64" current-snapshot new-snapshot updated-snapshot ${DISTRIBUTION}
5252

53-
# Import new public key (temporary)
54-
gpg --no-default-keyring --keyring=${CUSTOM_KEYRING_FILE} --import new-public-key.gpg
55-
5653
# Publish the new snapshot to the remote repo
5754
printf "\n>>> Publishing updated snapshot \n"
5855
aptly publish snapshot -keyring="${CUSTOM_KEYRING_FILE}" -gpg-key="${GPG_PRIVATE_KEY_FINGERPRINT}" -passphrase "${GPG_PASSPHRASE}" -config "${APTLY_CONFIG_FILE_PATH}" updated-snapshot "s3:${APT_BUCKET_NAME}:${APT_REPO_FOLDER}"

0 commit comments

Comments
 (0)