-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update CI process * fix reading version * Add release job (unfinished) * remove bom from vstemplate * update vstemplates during version bump * remove release step conditions for test * change job to use windows * Revert "change job to use windows" This reverts commit a2522a3. * add "tfx extension publish --help" * comment out tests for faster debug * npm install -g tfx-cli * Revert "npm install -g tfx-cli" This reverts commit 6b27bce. * Revert "add "tfx extension publish --help"" This reverts commit 28e6f64. * Reapply "change job to use windows" This reverts commit bc740c6. * use GHA-VSMarketplacePublisher to publish * cleanup Deploy VSIX packages * disable Deploy VSIX packages * remove unneeded target to set the version in vstemplate * Add Review modified files * Add Verify VSIX Deploy settings * updated CHANGELOG * undo temp changes * add RELEASING.md
- Loading branch information
1 parent
1988338
commit f1dd0c4
Showing
16 changed files
with
297 additions
and
83 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"cSpell.words": [ | ||
"Reqnroll" | ||
] | ||
], | ||
"markdown.extension.toc.updateOnSave": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Releasing | ||
|
||
This document describes how to make a release using GitHub Actions. | ||
|
||
There are two parts to making a release: | ||
|
||
* [Prepare the release](#prepare-the-release) | ||
* [Make the release](#make-the-release) | ||
|
||
If you're making a major or minor release it is recommended to discuss it with the other contributors upfront (e.g. on Discord). | ||
|
||
## Prepare the release | ||
|
||
Anyone with permission to push to the `main` branch can prepare a release. | ||
|
||
1. Add new information to `CHANGELOG.md`. Ideally the `CHANGELOG.md` should be up-to-date, but sometimes there will be accidental omissions when merging PRs. | ||
* Use `git log --format=format:"* %s (%an)" --reverse <last-version-tag>..HEAD` to list all commits since the last release. | ||
* Add changelog details under the `# [vNext]` heading; the release process will update this heading when it makes the release | ||
1. Check & update contributors list (if applicable) | ||
* List recent contributors: | ||
``` | ||
git log --format=format:"%an <%ae>" --reverse <last-version-tag>..HEAD | grep -vEi "(renovate|dependabot|Snyk)" | sort| uniq -i | ||
``` | ||
* Update contributors if necessary at the `Contributors of this release` part of the `# [vNext]` heading | ||
1. The Visual Studio extension releases are versioned sequentially within a year, with the format `YYYY.SEQ.BUILD` (e.g. `2024.5.182`). In the beginning of the year, the year number must be updated and the sequence number has to be reset to `1`. When preparing the release you just need to double-check if the version is correct. You can find the current version number in the `Directory.Build.props` file. | ||
## Make the release | ||
Only people in group [release-managers](https://github.com/orgs/reqnroll/teams/release-managers) can make releases and only from the `main` branch. | ||
### Making a preview release | ||
Making preview releases are currently not supported, but each build contains a deploy target with the `vsix` installation file included. Installing those could be used to test preview versions. | ||
### Making a production release | ||
Production releases (or just releases) are intended to use for any users. Their version number does not contain a version suffix. | ||
To release such a preview release, the following steps has to be done: | ||
1. Open the CI workflow at GitHub: https://github.com/reqnroll/Reqnroll.VisualStudio/actions/workflows/ci.yml | ||
1. Choose the "Run workflow" button to trigger the release with the following settings: | ||
* `deploy_packages`: checked | ||
* `is_production_release`: checked | ||
* `custom_version_suffix`: leave it empty | ||
* `custom_configuration`: leave it on default | ||
1. The CI workflow runs and ideally passes all core and testing jobs, but will stop for approval before running the `release` job. | ||
1. Make sure everything is OK. You can even download the packages to be published for a smoke test if necessary. | ||
1. If everything is fine, approve the deployment job. | ||
1. The job will publish the packages, tag the current commit and create a new commit with the updated version number and changelog header. |
2 changes: 1 addition & 1 deletion
2
Reqnroll.VisualStudio.ItemTemplates/FeatureFile/FeatureFile_CSharp.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Reqnroll.VisualStudio.ItemTemplates/FeatureFile/FeatureFile_VB.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Reqnroll.VisualStudio.ItemTemplates/Hooks/Hooks_CSharp.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Reqnroll.VisualStudio.ItemTemplates/ReqnrollConfig/ReqnrollConfig_CSharp.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Reqnroll.VisualStudio.ItemTemplates/ReqnrollConfig/ReqnrollConfig_VB.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Reqnroll.VisualStudio.ProjectTemplate/Reqnroll.VisualStudio.ProjectTemplate.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters