|
|
@ -31,15 +31,15 @@ package:
|
|
|
|
- target/
|
|
|
|
- target/
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- shadow-cljs compile app
|
|
|
|
- shadow-cljs compile app
|
|
|
|
- chmod a+x mastodon-bot.js
|
|
|
|
- chmod a+x target/mastodon-bot.js
|
|
|
|
- sha256sum mastodon-bot.js > target/mastodon-bot.js.sha256
|
|
|
|
- sha256sum target/mastodon-bot.js > target/mastodon-bot.js.sha256
|
|
|
|
- sha512sum mastodon-bot.js > target/mastodon-bot.js.sha512
|
|
|
|
- sha512sum target/mastodon-bot.js > target/mastodon-bot.js.sha512
|
|
|
|
|
|
|
|
|
|
|
|
upload:
|
|
|
|
upload:
|
|
|
|
stage: upload
|
|
|
|
stage: upload
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- mkdir -p target/npm-build/mastodon_bot
|
|
|
|
- mkdir -p target/npm-build/mastodon_bot
|
|
|
|
- cp mastodon-bot.js target/npm-build/mastodon_bot/
|
|
|
|
- cp target/mastodon-bot.js target/npm-build/mastodon_bot/
|
|
|
|
- cp target/mastodon-bot.js.sha256 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 target/mastodon-bot.js.sha512 target/npm-build/mastodon_bot/
|
|
|
|
- cp package.json target/npm-build/mastodon_bot/
|
|
|
|
- cp package.json target/npm-build/mastodon_bot/
|
|
|
|