Skip to content

Commit

Permalink
Merge pull request #1317 from Esri/release-process
Browse files Browse the repository at this point in the history
update npm release process
  • Loading branch information
gavinr authored Feb 24, 2022
2 parents 6a8b7db + 8975277 commit b318b5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"build": "rollup -c profiles/debug.js & rollup -c profiles/production.js",
"lint": "semistandard | snazzy",
"prebuild": "mkdirp dist",
"prepare": "npm run build",
"pretest": "npm run build",
"precommit": "npm run lint",
"fix": "semistandard --fix",
Expand Down
6 changes: 3 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ zip -r $NAME-v$VERSION.zip dist
# run gh-release to create the tag and push release to github
gh-release --assets $NAME-v$VERSION.zip

# publish release on NPM
npm publish

# checkout master and delete release branch locally and on GitHub
git checkout master
git branch -D gh-release
git push https://github.com/Esri/esri-leaflet :gh-release

# publish release on NPM
npm publish

0 comments on commit b318b5f

Please sign in to comment.