Browse Source

more gitversion stuff

Tigger Kindel 2 years ago
parent
commit
27edf992c5
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Release.ps1

+ 3 - 3
Release.ps1

@@ -16,12 +16,12 @@ try {
     Write-Host "Pulling latest from upstream branch $branch"
     git pull upstream $branch
 
-    Write-Host "Creating empty commit with message $releaseMessage"
-    git commit --allow-empty -m $releaseMessage
-
     Write-Host "Tagging release with tag $tag"
     git tag $tag -a -m $releaseMessage
 
+    Write-Host "Creating empty commit with message $releaseMessage"
+    git commit --allow-empty -m $releaseMessage
+
     Write-Host "Pushing changes to upstream"
     git push --atomic upstream $branch $tag
 } catch {