You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
555 B
Bash
13 lines
555 B
Bash
#!/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
|