Skip to content

Commit ed67a5d

Browse files
committed
Auto-bump version and commit in release script
1 parent 06230a3 commit ed67a5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vbcdr",
3-
"version": "1.1.23",
3+
"version": "1.1.24",
44
"description": "Desktop vibe coding environment for Claude Code developers",
55
"author": {
66
"name": "jo vinkenroye",
@@ -15,7 +15,7 @@
1515
"build:linux": "electron-vite build && electron-builder --linux --x64",
1616
"build:win": "electron-vite build && electron-builder --win --x64",
1717
"postinstall": "node scripts/postinstall.js",
18-
"release": "node -e \"const v='v'+require('./package.json').version,{execSync}=require('child_process');try{execSync('git tag '+v,{stdio:'inherit'})}catch(e){console.error('Tag '+v+' already exists - bump version first');process.exit(1)}execSync('git push origin '+v,{stdio:'inherit'})\""
18+
"release": "npm version patch --no-git-tag-version && node -e \"const v='v'+require('./package.json').version,{execSync}=require('child_process');execSync('git add package.json',{stdio:'inherit'});execSync('git commit -m \\'Bump version to '+v+'\\'',{stdio:'inherit'});execSync('git tag '+v,{stdio:'inherit'});execSync('git push origin master --tags',{stdio:'inherit'})\""
1919
},
2020
"build": {
2121
"appId": "com.vbcdr.app",

0 commit comments

Comments
 (0)