Skip to content

Commit

Permalink
Publish snap instead of switch
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopalet committed Mar 6, 2024
1 parent 53313e9 commit 6aac19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish-apt-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ aptly snapshot create new-snapshot from repo new-repo

# Publish the new snapshot to the remote repo
printf "\n>>> Publishing updated snapshot \n"
aptly publish switch -gpg-key="${GPG_PRIVATE_KEY_ID}" -passphrase "${GPG_PASSPHRASE}" -config "${APTLY_CONFIG_FILE_PATH}" ${DISTRIBUTION} "s3:${APT_BUCKET_NAME}:" new-snapshot
aptly publish snapshot -gpg-key="${GPG_PRIVATE_KEY_ID}" -passphrase "${GPG_PASSPHRASE}" -config "${APTLY_CONFIG_FILE_PATH}" new-snapshot "s3:${APT_BUCKET_NAME}:"

0 comments on commit 6aac19a

Please sign in to comment.