summaryrefslogtreecommitdiffstats
path: root/tasks/rake/sign.rake
blob: f96a4604b80b8ab1440ede7b2670f3cf0ea2010c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
desc "Sign to the package with the Puppet Labs release key"
task :sign_packages do

version = Puppet::PUPPETVERSION

# Sign package

sh "gpg --homedir $HOME/pl_release_key --detach-sign --output pkg/puppet-#{version}.tar.gz.sign --armor pkg/puppet-#{version}.tar.gz"

# Sign gem

sh "gpg --homedir $HOME/pl_release_key --detach-sign --output pkg/puppet-#{version}.gem.sign --armor pkg/puppet-#{version}.gem"

end