Skip to content

Commit 8697fb8

Browse files
author
Hunter Horsman
committed
ci: try to work around npm bug
npm/cli#2010
1 parent 553665d commit 8697fb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"clean": "shx rm -rf ./dist",
4242
"build": "npm run clean && ng-packagr -p ng-package.json",
4343
"package": "npm run build && npm pack --pack-destination=\"./dist/\"",
44+
"preversion": "mkdir .git",
4445
"version": "npm run build && git add -A .",
45-
"postversion": "git push && git push --tags"
46+
"postversion": "git push && git push --tags && rmdir .git"
4647
}
4748
}

0 commit comments

Comments
 (0)