Browse Source

Release via CI #202 (#203)

master
Evgeny Smyshlyaev 5 years ago committed by rozetko
parent
commit
8e981f276a
  1. 19
      .travis.yml

19
.travis.yml

@ -4,5 +4,24 @@ node_js:
before_script:
- npm install
script: npm test
notifications:
email: false
before_deploy:
- export RELEASE_TAG=$(git tag | tail -1)
- mkdir -p hastic-grafana-app-$RELEASE_TAG
- cp -r dist hastic-grafana-app-$RELEASE_TAG
- tar -zxf hastic-grafana-app-$RELEASE_TAG hastic-grafana-app-$RELEASE_TAG.tar.gz
- zip -r hastic-grafana-app-$RELEASE_TAG hastic-grafana-app-$RELEASE_TAG.zip
deploy:
provider: releases
file:
- "hastic-grafana-app-$RELEASE_TAG.zip"
- "hastic-grafana-app-$RELEASE_TAG.tar.gz"
email: ping@corpglory.com
github-token: $GITHUB_TOKEN
skip_cleanup: true
on:
tags: false

Loading…
Cancel
Save