Skip to content

Commit

Permalink
Revert "Adjust APT release script during GPG key rotation (#464)" (#466)
Browse files Browse the repository at this point in the history
This reverts commit 2a98589.
  • Loading branch information
joaopalet authored Aug 29, 2024
1 parent fdc2b77 commit da28785
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
14 changes: 0 additions & 14 deletions scripts/new-public-key.gpg

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/publish-apt-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ aptly snapshot create new-snapshot from repo new-repo
printf "\n>>> Merging snapshots \n"
aptly snapshot pull -no-remove -architectures="amd64,i386,arm64" current-snapshot new-snapshot updated-snapshot ${DISTRIBUTION}

# Import new public key (temporary)
gpg --no-default-keyring --keyring=${CUSTOM_KEYRING_FILE} --import new-public-key.gpg

# Publish the new snapshot to the remote repo
printf "\n>>> Publishing updated snapshot \n"
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 comments on commit da28785

Please sign in to comment.