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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon-bot/RELEASING.md

43 lines
841 B
Markdown

4 years ago
# Releasing
## dev release
```
# run the tests
shadow-cljs compile test
# release the app
4 years ago
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
4 years ago
```
## stable release (should be done from master)
4 years ago
```
shadow-cljs compile test
4 years ago
#adjust [version]
vi package.json
4 years ago
git commit -am "releasing"
git commit -am [version]
git push --follow-tags
4 years ago
# Bump [version]
vi package.json
4 years ago
git commit -am "version bump" && git push
# trigger deploy
git tag [version]
git push --tags
4 years ago
```