Change path refs

This commit is contained in:
Adria Navarro 2023-06-26 11:53:29 +01:00
parent ef4dc89a6e
commit d499200de4
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
const fs = require("fs") const fs = require("fs")
const semver = require("semver") const semver = require("semver")
const filePath = "lerna.json" const filePath = "../lerna.json"
const versionBump = process.argv[2] || "patch" const versionBump = process.argv[2] || "patch"
// Read and parse lerna.json file // Read and parse lerna.json file

View File

@ -7,10 +7,10 @@ then
fi fi
# Bump the version in lerna.json # Bump the version in lerna.json
node scripts/bumpVersion.js $1 node ./bumpVersion.js $1
NEW_VERSION=$(node -p "require('./lerna.json').version") NEW_VERSION=$(node -p "require('../lerna.json').version")
git add lerna.json git add lerna.json
git commit -m "Bump version to $NEW_VERSION" git commit -m "Bump version to $NEW_VERSION"
git tag v$NEW_VERSION git tag v$NEW_VERSION