-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(agent): add minor version release script #7330
Conversation
c1c1171
to
5439f10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's great if we can automatically release the CLI alongside Cody VSC
agent/scripts/minor-release.sh
Outdated
echo "New tag: $new_tag" | ||
|
||
# Update version in package.json | ||
sed -i '' "s/\"version\": \"[^\"]*\"/\"version\": \"$new_version\"/" agent/package.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, there is an npm version {patch,minor}
command to bump up patch/minor versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with the release pipeline so it's probably best for someone on the Cody team to stamp this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Splendid, thank you for this 🎉
Test plan
CI + manually tested this script locally.