Browse Source

commit without running verify hooks

master
Conduitry 1 year ago
parent
commit
5535138784
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      npm2git.sh

+ 1
- 1
npm2git.sh View File

@ -32,7 +32,7 @@ git rm --cached -rf .
# commit the files that should be included in the published package
PKG_TAR="$(npm pack | tail -n 1)"
tar tf "$PKG_TAR" | cut -c 9- | xargs -d '\n' git add -f
git commit -m "v$PKG_VERSION @ $ORIG_COMMIT"
git commit -nm "v$PKG_VERSION @ $ORIG_COMMIT"
# return to original state
rm "$PKG_TAR"

Loading…
Cancel
Save