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

Release 0.1.2 (#138) #138

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

## Security

## [0.1.2]

### Added

- VS Code version 1.40.1.

## [0.1.1]

### Fixed
Expand Down
16 changes: 10 additions & 6 deletions docs/dev/Release.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Releases

Version number format follows [Semantic Versioning](https://semver.org/) of <major>.<minor>.<patch>.
Expand All @@ -24,10 +23,7 @@ Follow these steps to publish a new release to the [Visual Studio Marketplace](h
Include the following checklist in the PR description when creating a new release.

```markdown
Release Checklist:
- [ ] Update version number
- [ ] Update [CHANGELOG.md](./CHANGELOG.md)
- [ ] Link to PR for the release blog post (if any)
Release Checklist: - [ ] Update version number - [ ] Update [CHANGELOG.md](./CHANGELOG.md) - [ ] Link to PR for the release blog post (if any)
```

Note: Ensure all checklist items are completed before merging the release PR.
Expand All @@ -47,6 +43,14 @@ To publish a **patch** release:

IMPORTANT: You do not need to merge the patch branch back into `main` as it is a temporary branch. However, you will need to update the version number in the `main` branch after the patch release is published.

## Rollback

In case of a critical issue with the latest release, a rollback may be necessary. The new release should be published as soon as possible to replace the faulty release.

However, rolling back a release is not a straightforward process. It requires a new release with a fix for the issue and a new version number, while the main Cody repository tag should be updated to the previous version.

The rest of the release process remains the same as for a patch release.

## Nightly build

Nightly build is currently not supported.
Expand All @@ -61,4 +65,4 @@ To do this:
2. Run `cd src; dotnet cake`.
3. Open the [src/Cody.sln](src/Cody.sln) file in Visual Studio.
4. Right click on the [Cody.Visual Studio](src/Cody.VisualStudio/) project and select `Rebuild Project`.
5. Once the project is built, it will create a `Cody.VisualStudio.vsix` file in the `src/Cody.VisualStudio/bin/Debug` folder, which you can double-click to install the extension.
5. Once the project is built, it will create a `Cody.VisualStudio.vsix` file in the `src/Cody.VisualStudio/bin/Debug` folder, which you can double-click to install the extension.
2 changes: 1 addition & 1 deletion src/Cody.VisualStudio/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="Cody.VisualStudio" Version="0.1.1" Language="en-US" Publisher="sourcegraph" />
<Identity Id="Cody.VisualStudio" Version="0.1.2" Language="en-US" Publisher="sourcegraph" />
<DisplayName>Cody for Visual Studio - AI Coding Assistant</DisplayName>
<Description xml:space="preserve">AI coding assistant that uses search and codebase context to help you write code faster!</Description>
<MoreInfo>https://sourcegraph.com/cody</MoreInfo>
Expand Down
2 changes: 1 addition & 1 deletion src/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var nodeBinaryUrl = "https://github.com/sourcegraph/node-binaries/raw/main/v20.1
var nodeArmBinaryUrl = "https://github.com/sourcegraph/node-binaries/raw/main/v20.12.2/node-win-arm64.exe";

// The latest tag of the stable release from the cody repository https://github.com/sourcegraph/cody/tags
var codyStableReleaseTag = "vscode-v1.38.3";
var codyStableReleaseTag = "vscode-v1.40.1";
var codyBranch = Argument("cody-branch", codyStableReleaseTag);

var marketplaceToken = EnvironmentVariable("CODY_VS_MARKETPLACE_RELEASE_TOKEN");
Expand Down
Loading