1
0
Fork 0
mirror of synced 2024-06-18 18:35:37 +12:00

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 semver = require("semver")
const filePath = "lerna.json"
const filePath = "../lerna.json"
const versionBump = process.argv[2] || "patch"
// Read and parse lerna.json file

View file

@ -7,10 +7,10 @@ then
fi
# 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 commit -m "Bump version to $NEW_VERSION"
git tag v$NEW_VERSION