Change path refs
This commit is contained in:
parent
ef4dc89a6e
commit
d499200de4
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue