diff options
author | Michal Čihař <michal@cihar.com> | 2015-06-16 13:11:06 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2015-06-16 13:11:06 +0300 |
commit | edda35f60305e3c36d23c5061d531ef10c87ecde (patch) | |
tree | ee8a23bcd1a2ef2591d0caa93aba64a5f6d2d46d /scripts | |
parent | e3b9049e51f7ed7153580fd1c23129c4a837eb3c (diff) |
Add support for GPG signing releases
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/create-release.sh | 6 | ||||
-rwxr-xr-x | scripts/upload-release | 20 |
2 files changed, 26 insertions, 0 deletions
diff --git a/scripts/create-release.sh b/scripts/create-release.sh index 6814e49be9..baf182ee47 100755 --- a/scripts/create-release.sh +++ b/scripts/create-release.sh @@ -230,6 +230,12 @@ done # Cleanup rm -rf phpMyAdmin-${version} +# Signing of files with default GPG key +echo "* Signing files" +for file in *.gz *.zip *.bz2 *.7z ; do + gpg --detach-sign --armor $file +done + echo "" echo "" diff --git a/scripts/upload-release b/scripts/upload-release index 934bfa0682..242e612212 100755 --- a/scripts/upload-release +++ b/scripts/upload-release @@ -30,6 +30,16 @@ put phpMyAdmin-$REL-all-languages.zip put phpMyAdmin-$REL-english.zip put phpMyAdmin-$REL-all-languages.7z put phpMyAdmin-$REL-english.7z +put phpMyAdmin-$REL-all-languages.tar.bz2.asc +put phpMyAdmin-$REL-english.tar.bz2.asc +put phpMyAdmin-$REL-all-languages.tar.xz.asc +put phpMyAdmin-$REL-english.tar.xz.asc +put phpMyAdmin-$REL-all-languages.tar.gz.asc +put phpMyAdmin-$REL-english.tar.gz.asc +put phpMyAdmin-$REL-all-languages.zip.asc +put phpMyAdmin-$REL-english.zip.asc +put phpMyAdmin-$REL-all-languages.7z.asc +put phpMyAdmin-$REL-english.7z.asc put phpMyAdmin-$REL-notes.html EOT @@ -48,6 +58,16 @@ put phpMyAdmin-$REL-all-languages.zip put phpMyAdmin-$REL-english.zip put phpMyAdmin-$REL-all-languages.7z put phpMyAdmin-$REL-english.7z +put phpMyAdmin-$REL-all-languages.tar.bz2.asc +put phpMyAdmin-$REL-english.tar.bz2.asc +put phpMyAdmin-$REL-all-languages.tar.xz.asc +put phpMyAdmin-$REL-english.tar.xz.asc +put phpMyAdmin-$REL-all-languages.tar.gz.asc +put phpMyAdmin-$REL-english.tar.gz.asc +put phpMyAdmin-$REL-all-languages.zip.asc +put phpMyAdmin-$REL-english.zip.asc +put phpMyAdmin-$REL-all-languages.7z.asc +put phpMyAdmin-$REL-english.7z.asc put phpMyAdmin-$REL-notes.html EOT |