From dc7cf42e90fa16a899ef524644d7aaf9f7d67b08 Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Wed, 23 Oct 2019 11:01:05 +0100 Subject: [PATCH] Ignore branches that are not master (#678) * Ignore branches that are not master * List branches and ignored branches * Remove tags check from npm publish instead * :bookmark: Version 7.1.5 --- .github/workflows/npmpublish.yml | 20 +------------------- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 5a5b676..03ce301 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -4,8 +4,6 @@ on: push: branches: - master - tags: - - v* jobs: build: @@ -64,20 +62,4 @@ jobs: HUSKY_SKIP_INSTALL: true - run: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - publish-github: - needs: publish-npm - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 1 - - run: echo ${{ github.sha }} > RELEASE.txt - - run: cat RELEASE.txt - - uses: softprops/action-gh-release@v1 - with: - files: RELEASE.txt - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 5000823..f819413 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "choices.js", - "version": "7.1.4", + "version": "7.1.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 69da285..f86ae79 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "choices.js", - "version": "7.1.4", + "version": "7.1.5", "description": "A vanilla JS customisable text input/select box plugin", "main": "./public/assets/scripts/choices.min.js", "types": "./types/index.d.ts",