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

* 🔖 Version 7.1.5
This commit is contained in:
Josh Johnson 2019-10-23 11:01:05 +01:00 committed by GitHub
parent 4c6acb5de2
commit dc7cf42e90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 21 deletions

View file

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

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "choices.js",
"version": "7.1.4",
"version": "7.1.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View file

@ -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",