Parcourir la source

more gitversion stuff

Tigger Kindel il y a 2 ans
Parent
commit
27edf992c5
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  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 {