36 lines
760 B
Markdown
36 lines
760 B
Markdown
# Releasing
|
|
|
|
## dev release
|
|
```
|
|
shadow-cljs watch test
|
|
shadow-cljs release app
|
|
mkdir target/npm-build
|
|
cp mastodon-bot.js target/npm-build/
|
|
cp README.md target/npm-build/
|
|
tar -c -C target/npm-build -f target/npm-build.tar .
|
|
npm publish ./target/npm-build.tar --access public --tag dev0
|
|
```
|
|
|
|
## prod release
|
|
```
|
|
shadow-cljs watch test
|
|
|
|
#adjust version
|
|
vi shadow-cljs.edn
|
|
|
|
git commit -am "releasing"
|
|
git tag [version]
|
|
git push && git push --tag
|
|
|
|
shadow-cljs release app
|
|
mkdir target/npm-build
|
|
cp mastodon-bot.js target/npm-build/
|
|
cp README.md target/npm-build/
|
|
tar -c -C target/npm-build -f target/npm-build.tar .
|
|
npm publish ./target/npm-build.tar --access public --tag [version]
|
|
|
|
# Bump version
|
|
vi shadow-cljs.edn
|
|
|
|
git commit -am "version bump" && git push
|
|
```
|