--tag has no impact?
This commit is contained in:
parent
43be60f8e4
commit
f8ac1d2df3
1 changed files with 4 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
||||||
shadow-cljs compile test
|
shadow-cljs compile test
|
||||||
|
|
||||||
shadow-cljs release app
|
shadow-cljs release app
|
||||||
|
chmod a+x mastodon-bot.js
|
||||||
rm -rf target/npm-build
|
rm -rf target/npm-build
|
||||||
mkdir target/npm-build
|
mkdir target/npm-build
|
||||||
cp mastodon-bot.js target/npm-build/
|
cp mastodon-bot.js target/npm-build/
|
||||||
|
@ -12,7 +13,7 @@ cp package.json target/npm-build/
|
||||||
cp README.md target/npm-build/
|
cp README.md target/npm-build/
|
||||||
tar -cz -C target/npm-build -f target/npm-build.tgz .
|
tar -cz -C target/npm-build -f target/npm-build.tgz .
|
||||||
|
|
||||||
npm publish ./target/npm-build.tgz --access public --tag dev0
|
npm publish ./target/npm-build.tgz --access public
|
||||||
```
|
```
|
||||||
|
|
||||||
## prod release (should be done from master)
|
## prod release (should be done from master)
|
||||||
|
@ -29,6 +30,7 @@ git push && git push --tag
|
||||||
shadow-cljs release app
|
shadow-cljs release app
|
||||||
|
|
||||||
shadow-cljs release app
|
shadow-cljs release app
|
||||||
|
chmod a+x mastodon-bot.js
|
||||||
rm -rf target/npm-build
|
rm -rf target/npm-build
|
||||||
mkdir target/npm-build
|
mkdir target/npm-build
|
||||||
cp mastodon-bot.js target/npm-build/
|
cp mastodon-bot.js target/npm-build/
|
||||||
|
@ -36,7 +38,7 @@ cp package.json target/npm-build/
|
||||||
cp README.md target/npm-build/
|
cp README.md target/npm-build/
|
||||||
tar -cz -C target/npm-build -f target/npm-build.tgz .
|
tar -cz -C target/npm-build -f target/npm-build.tgz .
|
||||||
|
|
||||||
npm publish ./target/npm-build.tgz --access public --tag [version]
|
npm publish ./target/npm-build.tgz --access public
|
||||||
|
|
||||||
# Bump version
|
# Bump version
|
||||||
vi shadow-cljs.edn
|
vi shadow-cljs.edn
|
||||||
|
|
Reference in a new issue