Skip to content

Commit aef0a78

Browse files
EliotJonesBobLd
authored andcommitted
update release logic to check out master before commit
1 parent 005e527 commit aef0a78

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish_release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,10 @@ jobs:
4444
.\tools\set-version.ps1 $newVer -UpdateAssemblyAndFileVersion
4545
git config user.name "github-actions"
4646
git config user.email "github-actions@github.com"
47+
48+
git fetch origin master
49+
git checkout master
50+
git pull
51+
4752
git commit -am "Increment version to $newVer"
4853
git push

0 commit comments

Comments
 (0)