allegro/scripts/release.sh

12 lines
465 B
Bash
Raw Normal View History

2022-08-01 15:38:27 +00:00
mkdir -p build/repos
git clone https://oauth2:$fedranAccessKey@gitlab.com/fedran/fedran-covers.git build/repos/fedran-covers
rm -f dmoonfire*
npm install --ci
npx semantic-release
export npm_package_name=$(cat package.json | jq -r .name)
tar -cjf $npm_package_name.tar.bz2 dmoonfire*
s3cmd --access_key=$AWS_ACCESS_KEY_ID --access_token=$AWS_SECRET_ACCESS_KEY --host=$AWS_ENDPOINT --host-bucket=$AWS_ENDPOINT -P put flight-of-the-scions.tar.bz2 s3://$AWS_BUCKET