This repository has been archived on 2023-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon-bot/release.sh
dmitri.sotnikov@gmail.com 2e33b53a0b added release script
2020-12-29 17:10:44 -05:00

12 lines
555 B
Bash
Executable file

#!/bin/bash
npx shadow-cljs release app
shasum -a 512 mastodon-bot.js > mastodon-bot.js.sha256
shasum -a 512 mastodon-bot.js > mastodon-bot.js.sha512
rm -rf target/npm-build/mastodon-bot
mkdir -p target/npm-build/mastodon-bot
cp mastodon-bot.js target/npm-build/mastodon-bot/
cp target/mastodon-bot.js.sha256 target/npm-build/mastodon-bot/
cp target/mastodon-bot.js.sha512 target/npm-build/mastodon-bot/
cp package.json target/npm-build/mastodon-bot/
cp README.md target/npm-build/mastodon-bot/
npm publish ./target/npm-build/mastodon-bot --access public