mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-01-09 05:46:02 +08:00
update release logic to check out master before commit
This commit is contained in:
5
.github/workflows/publish_release.yml
vendored
5
.github/workflows/publish_release.yml
vendored
@@ -44,5 +44,10 @@ jobs:
|
||||
.\tools\set-version.ps1 $newVer -UpdateAssemblyAndFileVersion
|
||||
git config user.name "github-actions"
|
||||
git config user.email "github-actions@github.com"
|
||||
|
||||
git fetch origin master
|
||||
git checkout master
|
||||
git pull
|
||||
|
||||
git commit -am "Increment version to $newVer"
|
||||
git push
|
||||
Reference in New Issue
Block a user