Skip to content

Commit d376767

Browse files
committed
Align release workflow with master
1 parent 145d7b9 commit d376767

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
with:
3131
dotnet-version: 10.0.x
3232

33-
- name: Verify release comes from main
33+
- name: Verify release comes from master
3434
shell: bash
3535
run: |
36-
git fetch origin main
37-
git merge-base --is-ancestor "$GITHUB_SHA" origin/main
36+
git fetch origin master
37+
git merge-base --is-ancestor "$GITHUB_SHA" origin/master
3838
3939
- name: Resolve version
4040
id: version

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,6 @@ The CI workflow restores, builds, tests, and packs the library on every push and
115115
pull request. The generated NuGet package is uploaded as a build artifact.
116116

117117
The release workflow publishes to nuget.org only from `v*` tags whose commit is
118-
contained in `main`. Publishing uses NuGet Trusted Publishing with the GitHub
118+
contained in `master`. Publishing uses NuGet Trusted Publishing with the GitHub
119119
environment `nuget`; configure the nuget.org policy with `release.yml` and
120120
environment `nuget`.

0 commit comments

Comments
 (0)