move osx code signing to before checksums are calculated

This commit is contained in:
Megan Marsh 2019-12-19 14:07:10 -08:00
parent f45d315be4
commit 7ce9992357
1 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,8 @@ for PLATFORM in $(find ./pkg -mindepth 1 -maxdepth 1 -type d); do
popd >/dev/null 2>&1
done
./scripts/sign.sh
if [ -z $NOSIGN ]; then
echo "==> Signing..."
pushd ./pkg/dist
@ -48,7 +50,6 @@ if [ -z $NOSIGN ]; then
popd
fi
./scripts/sign.sh
hc-releases upload $DIR/pkg/dist/
hc-releases publish