aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-22 18:05:48 +0300
committerValentin Popov <info@valentineus.link>2017-10-22 18:06:36 +0300
commitc7db50ca2332773a3c65a9195d2ff05d5a3c44f4 (patch)
tree78c0b974a6cf45565c0a4961840db12cff5c2b25
parentc10e4d849f11789230e0ba535bfc65770a16fdae (diff)
downloadsimple-container-c7db50ca2332773a3c65a9195d2ff05d5a3c44f4.tar.xz
simple-container-c7db50ca2332773a3c65a9195d2ff05d5a3c44f4.zip
Automatic publication of the package in GitHub
-rw-r--r--.travis.yml21
-rw-r--r--package.json2
2 files changed, 16 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index f4a4457..d9fd09e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,10 +42,19 @@ jobs:
- git stash --all
- npm install
- npm run build
+ - npm pack
deploy:
- provider: npm
- skip_cleanup: true
- email: "info@valentineus.link"
- api_key: $NPM_PROJECT_TOKEN
- on:
- tags: true \ No newline at end of file
+ - provider: npm
+ skip_cleanup: true
+ email: "info@valentineus.link"
+ api_key: $NPM_PROJECT_TOKEN
+ on:
+ tags: true
+
+ - provider: releases
+ skip_cleanup: true
+ file: "simple-container-*.tgz"
+ email: "info@valentineus.link"
+ api_key: $GITHUB_PROJECT_TOKEN
+ on:
+ tags: true \ No newline at end of file
diff --git a/package.json b/package.json
index 4ec4ecc..388f3e9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "simple-container",
- "version": "1.1.1",
+ "version": "1.1.2",
"description": "Simple and fast work with the Docker container",
"homepage": "https://github.com/valentineus/simple-container",
"license": "MIT",