File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ const fs = require('fs');
1919const glob = require ( 'glob' ) ;
2020
2121/**
22- * This script updates the devDependencies and dependencies in the workspaces
22+ * This script updates the devDependencies and dependencies in the workspaces
2323 * to match the version specified by the given parameter.
2424 * The expected parameter should be the tag for the package.
25- *
26- * Example:
25+ *
26+ * Example:
2727 * node ./script/bump_version.js <tag>
2828 */
2929
@@ -38,7 +38,7 @@ const packageNames = [
3838] ;
3939
4040function bumpDependencies ( ) {
41- const targetPackageVersion = process . argv [ 2 ] ;
41+ const targetPackageVersion = process . argv [ 2 ] . replace ( / ^ v / , '' ) ;
4242 const workspacePackages = glob . sync ( workspacesPattern ) ;
4343
4444 workspacePackages . forEach ( ( packagePath ) => {
You can’t perform that action at this time.
0 commit comments