next try to publish

This commit is contained in:
jem 2020-06-26 18:01:26 +02:00
parent 2b3b582a4b
commit 09046c0dee
2 changed files with 7 additions and 3 deletions

View file

@ -5,8 +5,10 @@
shadow-cljs compile test shadow-cljs compile test
shadow-cljs release app shadow-cljs release app
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/
cp package.json target/npm-build/
cp README.md target/npm-build/ cp README.md target/npm-build/
tar -c -C target/npm-build -f target/npm-build.tar . tar -c -C target/npm-build -f target/npm-build.tar .
@ -25,10 +27,15 @@ git tag [version]
git push && git push --tag git push && git push --tag
shadow-cljs release app shadow-cljs release app
shadow-cljs release app
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/
cp package.json target/npm-build/
cp README.md target/npm-build/ cp README.md target/npm-build/
tar -c -C target/npm-build -f target/npm-build.tar . tar -c -C target/npm-build -f target/npm-build.tar .
npm publish ./target/npm-build.tar --access public --tag [version] npm publish ./target/npm-build.tar --access public --tag [version]
# Bump version # Bump version

View file

@ -21,9 +21,6 @@
"scripts": { "scripts": {
"start": "node mastodon-bot.js" "start": "node mastodon-bot.js"
}, },
"bin": {
"mastodon-bot": "mastodon-bot.js"
},
"keywords": [ "keywords": [
"cljs", "cljs",
"mastodon", "mastodon",