Skip to content
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

Merged
merged 2 commits into from
Mar 10, 2025

Conversation

valerybugakov
Copy link
Member

@valerybugakov valerybugakov commented Mar 5, 2025

  • Adds a basic shell script for releasing minor versions of the agent CLI with a plan to reference it in the Cody Release Captain playbook. Here's the updated section of the playbook.
  • Nothing fancy; we can tweak it in follow-up PRs to improve it based on feedback from the release captains who'll be using it.

Test plan

CI + manually tested this script locally.

@valerybugakov valerybugakov force-pushed the vb/agent-release-script branch from c1c1171 to 5439f10 Compare March 5, 2025 04:18
Copy link
Member

@olafurpg olafurpg left a 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

echo "New tag: $new_tag"

# Update version in package.json
sed -i '' "s/\"version\": \"[^\"]*\"/\"version\": \"$new_version\"/" agent/package.json
Copy link
Member

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

@valerybugakov valerybugakov requested a review from olafurpg March 6, 2025 11:10
Copy link
Member

@olafurpg olafurpg left a 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

Copy link
Contributor

@dominiccooney dominiccooney left a 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 🎉

@valerybugakov valerybugakov merged commit cfe9e3b into main Mar 10, 2025
19 of 20 checks passed
@valerybugakov valerybugakov deleted the vb/agent-release-script branch March 10, 2025 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants