Skip to content

Commit

Permalink
Merge pull request #80 from jenkinsci/INFRA-717
Browse files Browse the repository at this point in the history
[INFRA-717] sign with SHA-2
  • Loading branch information
R. Tyler Croy committed Nov 1, 2016
2 parents 008343f + 3800e72 commit e50139c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deb/publish/publish.sh
Expand Up @@ -37,7 +37,7 @@ cat $D/merged/Contents | gzip -9c > $D/binary/Contents.gz
apt-ftparchive -c $bin/release.conf release $D/binary > $D/binary/Release
# sign the release file
rm $D/binary/Release.gpg || true
gpg --batch --no-use-agent --no-default-keyring --keyring "$GPG_KEYRING" --secret-keyring="$GPG_SECRET_KEYRING" --passphrase-file "$GPG_PASSPHRASE_FILE" \
gpg --batch --no-use-agent --no-default-keyring --digest-algo=sha256 --keyring "$GPG_KEYRING" --secret-keyring="$GPG_SECRET_KEYRING" --passphrase-file "$GPG_PASSPHRASE_FILE" \
-abs -o $D/binary/Release.gpg $D/binary/Release

cp $D/binary/Packages.* $D/binary/Release $D/binary/Release.gpg $D/binary/Contents.gz $D/contents/binary
Expand Down

0 comments on commit e50139c

Please sign in to comment.