Skip to content

Commit 48fc525

Browse files
committed
Deploy from master again
1 parent 452e331 commit 48fc525

File tree

3 files changed

+7
-20
lines changed

3 files changed

+7
-20
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff 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.

appveyor.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ skip_branch_with_pr: true
1010
# Don't start CI when tags are pushed
1111
skip_tags: true
1212

13-
# Limit CI to master/release branches (and PRs targeting them)
13+
# Limit CI to master branch (and PRs targeting it)
1414
branches:
1515
only:
1616
- master
17-
- /release/v.*$/
1817

1918
environment:
2019
INHERITDOC_VERSION: 1.2.2.1
@@ -48,7 +47,7 @@ for:
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)
@@ -57,4 +56,4 @@ for:
5756
auth_token:
5857
secure: Rrk1zp93EpCyxec/GXKnRnJjX7vU+ClNZEBnxbM+1j6l+C56qSV7B/fUrVsJuZYV
5958
on:
60-
branch: /release/v.*$/
59+
branch: master

version.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
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
}

0 commit comments

Comments
 (0)