blob: 77fdd59f4ece3d41ae3cc330dc4c81eafff3a709 [file] [log] [blame]
#!/usr/bin/env bash
export rcstring=""
export vstring="5.2.0"
# 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