diff --git a/RELEASING.md b/RELEASING.md deleted file mode 100644 index 99a115f..0000000 --- a/RELEASING.md +++ /dev/null @@ -1,42 +0,0 @@ -# Releasing - -## dev release -``` -# run the tests -shadow-cljs compile test - -# release the app -shadow-cljs release app -chmod a+x mastodon-bot.js - -# publish to npm -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 --access public -``` - -## stable release (should be done from master) -``` -shadow-cljs compile test - -#adjust [version] -vi package.json - -git commit -am "releasing" -git commit -am [version] -git push --follow-tags - -# Bump [version] -vi package.json - -git commit -am "version bump" && git push - - -# trigger deploy -git tag [version] -git push --tags -``` diff --git a/release.sh b/release.sh deleted file mode 100755 index abb5197..0000000 --- a/release.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/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