claude-switch-profile 1.4.6 → 1.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/release.js +5 -2
package/package.json
CHANGED
package/scripts/release.js
CHANGED
|
@@ -125,15 +125,18 @@ const main = () => {
|
|
|
125
125
|
|
|
126
126
|
run('git add package.json');
|
|
127
127
|
run(`git commit -m "chore(release): v${newVersion}"`);
|
|
128
|
+
run(`git tag -a v${newVersion} -m "v${newVersion}"`);
|
|
129
|
+
console.log(`✓ Created tag v${newVersion}`);
|
|
128
130
|
|
|
129
131
|
console.log('\nPublishing to npm...');
|
|
130
132
|
run('npm publish');
|
|
131
133
|
console.log(`✓ Published claude-switch-profile@${newVersion}`);
|
|
132
134
|
|
|
133
135
|
run('git push');
|
|
134
|
-
|
|
136
|
+
run('git push --tags');
|
|
137
|
+
console.log('✓ Pushed to remote with tags\n');
|
|
135
138
|
|
|
136
|
-
console.log(`🎉
|
|
139
|
+
console.log(`🎉 Released v${newVersion} successfully!`);
|
|
137
140
|
};
|
|
138
141
|
|
|
139
142
|
try {
|