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/RELEASING.md

38 lines
788 B
Markdown
Raw Normal View History

2020-06-26 11:26:18 +00:00
# Releasing
## dev release
```
2020-07-13 16:53:15 +00:00
# run the tests
shadow-cljs compile test
2020-07-13 16:53:15 +00:00
# release the app
2020-06-26 11:26:18 +00:00
shadow-cljs release app
2020-06-29 16:47:22 +00:00
chmod a+x mastodon-bot.js
2020-07-13 16:53:15 +00:00
# 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
2020-06-26 11:26:18 +00:00
```
2020-07-13 16:53:15 +00:00
## stable release (should be done from master)
2020-06-26 11:26:18 +00:00
```
shadow-cljs compile test
2020-06-26 11:26:18 +00:00
2020-07-13 16:53:15 +00:00
#adjust [version]
vi package.json
2020-06-26 11:26:18 +00:00
git commit -am "releasing"
2020-07-13 16:53:15 +00:00
git commit -am [version]
git push --follow-tags
2020-06-26 11:26:18 +00:00
2020-07-13 16:53:15 +00:00
# Bump [version]
vi package.json
2020-06-26 11:26:18 +00:00
git commit -am "version bump" && git push
```