Skip to content

Commit 2c778dc

Browse files
committed
Fix version script to add all changes with git add -A
1 parent b4f2876 commit 2c778dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"postbuild": "echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
4444
"prepare": "npm run build",
4545
"preversion": "npm run test:local",
46-
"version": "sed -i'' \"s/VERSION = .*/VERSION = \\\"$npm_package_version\\\"/\" src/amqp-base-client.ts && npm run format && npm run update-changelog && git add src/amqp-base-client.ts CHANGELOG.md",
46+
"version": "sed -i'' \"s/VERSION = .*/VERSION = \\\"$npm_package_version\\\"/\" src/amqp-base-client.ts && npm run format && npm run update-changelog && git add -A",
4747
"postversion": "npm run create-tag && git push && git push --tags",
4848
"release": "npm version patch",
4949
"release:minor": "npm version minor",

0 commit comments

Comments
 (0)