expression test

master
jem 3 years ago
parent 2cbb3c20ba
commit 945d478829

@ -67,4 +67,18 @@ upload-release:
- cp package.json target/npm-build/mastodon_bot/
- cp README.md target/npm-build/mastodon_bot/
- npm version --no-git-tag-version $CI_COMMIT_TAG
- npm publish ./target/npm-build/mastodon_bot --access public
- npm publish ./target/npm-build/mastodon_bot --access public
test-prerelease:
stage: test
rules:
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG == ""'
script:
- echo $CI_COMMIT_TAG
test-release:
stage: test
rules:
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG != ""'
script:
- echo $