expression test

This commit is contained in:
jem 2021-02-10 14:02:22 +01:00
parent 2cbb3c20ba
commit 945d478829

View file

@ -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 $