From c7db50ca2332773a3c65a9195d2ff05d5a3c44f4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 22 Oct 2017 19:05:48 +0400 Subject: Automatic publication of the package in GitHub --- .travis.yml | 21 +++++++++++++++------ package.json | 2 +- 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", -- cgit v1.2.3