File tree Expand file tree Collapse file tree 3 files changed +7
-20
lines changed
Expand file tree Collapse file tree 3 files changed +7
-20
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,5 @@ The base version represents the MAJOR and MINOR parts of [SemVer](https://semver
1010
1111## Branches / tags
1212
13- * ` master ` contains the latest sources - this is where we develop.
14- * ` release/v* ` contains the sources for the respective version on ` nuget.org ` - this is where we deploy from.
15- * All versions on ` nuget.org ` have a matching GitHub release/tag
16-
17- ### Release workflow
18-
19- 1 . Check out latest master branch
20- 1 . Call ` nbgv prepare-release ` (you need [ the NBGV CLI tool] ( https://github.com/AArnott/Nerdbank.GitVersioning/blob/master/doc/nbgv-cli.md ) )
21- 1 . Push the newly created branch
22- 1 . Inspect CI run (test results, version number)
23- 1 . Inspect newly created package versions on NuGet.org and newly created GitHub release
13+ * ` master ` contains the latest sources. Each merge there triggers a deploy to ` nuget.org ` .
14+ * All versions on ` nuget.org ` have a matching GitHub release/tag.
Original file line number Diff line number Diff line change @@ -10,11 +10,10 @@ skip_branch_with_pr: true
1010# Don't start CI when tags are pushed
1111skip_tags : true
1212
13- # Limit CI to master/release branches (and PRs targeting them )
13+ # Limit CI to master branch (and PRs targeting it )
1414branches :
1515 only :
1616 - master
17- - /release/v.*$/
1817
1918environment :
2019 INHERITDOC_VERSION : 1.2.2.1
4847 skip_symbols : false
4948 artifact : /.*\.nupkg/
5049 on :
51- branch : /release/v.*$/
50+ branch : master
5251
5352 - provider : GitHub
5453 tag : v$(appveyor_build_version)
5756 auth_token :
5857 secure : Rrk1zp93EpCyxec/GXKnRnJjX7vU+ClNZEBnxbM+1j6l+C56qSV7B/fUrVsJuZYV
5958 on :
60- branch : /release/v.*$/
59+ branch : master
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json" ,
3- "version" : " 4.2-alpha " ,
3+ "version" : " 4.2" ,
44 "assemblyVersion" : {
55 "precision" : " major"
66 },
77 "publicReleaseRefSpec" : [
8- " ^refs/heads/release/v.* $"
8+ " ^refs/heads/master $"
99 ],
1010 "cloudBuild" : {
1111 "buildNumber" : {
1212 "enabled" : true
1313 }
14- },
15- "release" : {
16- "branchName" : " release/v{version}"
1714 }
1815}
You can’t perform that action at this time.
0 commit comments