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

48 lines
966 B
Markdown

4 years ago
# Releasing
## dev release
```
shadow-cljs compile test
4 years ago
shadow-cljs release app
chmod a+x mastodon-bot.js
rm -rf target/npm-build
4 years ago
mkdir target/npm-build
cp mastodon-bot.js target/npm-build/
cp package.json target/npm-build/
4 years ago
cp README.md target/npm-build/
tar -cz -C target/npm-build -f target/npm-build.tgz .
npm publish ./target/npm-build.tgz --access public
4 years ago
```
4 years ago
## prod release (should be done from master)
4 years ago
```
shadow-cljs compile test
4 years ago
#adjust version
vi shadow-cljs.edn
git commit -am "releasing"
git tag [version]
git push && git push --tag
shadow-cljs release app
shadow-cljs release app
chmod a+x mastodon-bot.js
rm -rf target/npm-build
4 years ago
mkdir target/npm-build
cp mastodon-bot.js target/npm-build/
cp package.json target/npm-build/
4 years ago
cp README.md target/npm-build/
tar -cz -C target/npm-build -f target/npm-build.tgz .
npm publish ./target/npm-build.tgz --access public
4 years ago
# Bump version
vi shadow-cljs.edn
git commit -am "version bump" && git push
```