Skip to content

Commit

Permalink
fix(scripts): remove leading v from version tag
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Roberts <[email protected]>
  • Loading branch information
mttrbrts committed Dec 11, 2024
1 parent dd73aba commit 05a97e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/bump_version.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ const fs = require('fs');
const glob = require('glob');

/**
* This script updates the devDependencies and dependencies in the workspaces
* This script updates the devDependencies and dependencies in the workspaces
* to match the version specified by the given parameter.
* The expected parameter should be the tag for the package.
*
* Example:
*
* Example:
* node ./script/bump_version.js <tag>
*/

Expand All @@ -38,7 +38,7 @@ const packageNames = [
];

function bumpDependencies() {
const targetPackageVersion = process.argv[2];
const targetPackageVersion = process.argv[2].replace(/^v/, '');
const workspacePackages = glob.sync(workspacesPattern);

workspacePackages.forEach((packagePath) => {
Expand Down

0 comments on commit 05a97e5

Please sign in to comment.