Skip to content

Commit

Permalink
add v to version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
trs committed Oct 11, 2021
1 parent bde6f25 commit 504e81d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .deploy/tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ NAME="$(node -e 'process.stdout.write(require("./'"$PKG"'/package.json").name)')

yarn workspace "$NAME" version --no-git-tag-version

VERSION="$(node -e 'process.stdout.write(require("./'"$PKG"'/package.json").version)')"
VERSION="v$(node -e 'process.stdout.write(require("./'"$PKG"'/package.json").version)')"

git add "./$PKG/package.json"
git commit -m "chore: bump $NAME to $VERSION"
Expand Down
3 changes: 1 addition & 2 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
},
"scripts": {
"test": "jest",
"build": "tsc",
"prepare": "npm run build"
"build": "tsc"
},
"license": "MIT",
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"scripts": {
"dev": "ts-node-dev src/bin.ts",
"build": "tsc --build",
"prepare": "npm run build",
"pkg": "pkg ./package.json --out-path pkg"
},
"engines": {
Expand Down
3 changes: 1 addition & 2 deletions get/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"access": "public"
},
"scripts": {
"build": "tsc",
"prepare": "npm run build"
"build": "tsc"
},
"license": "MIT",
"release": {
Expand Down

0 comments on commit 504e81d

Please sign in to comment.