Skip to content

Commit

Permalink
Update release script
Browse files Browse the repository at this point in the history
Update the release script to use the GITHUB_TOKEN
  • Loading branch information
antonjb committed Nov 30, 2021
1 parent 7f98326 commit 74fd80e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
.env
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"mini-mjs": "uglifyjs dist/react-interpolate.mjs --compress --mangle --enclose --output dist/react-interpolate.min.mjs",
"gzip": "gzip dist/**/*.min.*js --extension=gz",
"publish": "npm run build && npm publish",
"release": "git checkout master && git pull && release-it",
"release:auto": "git checkout master && git pull && release-it --ci"
"release": "git checkout master && git pull && GITHUB_TOKEN=$(grep GITHUB_TOKEN .env | cut -d '=' -f2) && release-it",
"release:auto": "git checkout master && git pull && GITHUB_TOKEN=$(grep GITHUB_TOKEN .env | cut -d '=' -f2) release-it --ci"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 74fd80e

Please sign in to comment.