blob: 68be17bc59e1cd84c66712817ec97c1c33657e89 [file] [log] [blame]
#!/usr/bin/env bash
export rcstring="-rc-1"
export vstring="5.2.2"
# for rc releases we rename the release files
if [ rcstring != "" ]; then
mv target/roller-release-${vstring}-source.tar.gz target/roller-release-${vstring}${rcstring}-source.tar.gz
mv target/roller-release-${vstring}-source.zip target/roller-release-${vstring}${rcstring}-source.zip
mv target/roller-release-${vstring}-standard.tar.gz target/roller-release-${vstring}${rcstring}-standard.tar.gz
mv target/roller-release-${vstring}-standard.zip target/roller-release-${vstring}${rcstring}-standard.zip
fi
gpg --armor --detach-sig target/roller-release-${vstring}${rcstring}-standard.tar.gz
gpg --armor --detach-sig target/roller-release-${vstring}${rcstring}-standard.zip
gpg --armor --detach-sig target/roller-release-${vstring}${rcstring}-source.tar.gz
gpg --armor --detach-sig target/roller-release-${vstring}${rcstring}-source.zip