浏览代码

more gitversion stuff

Tigger Kindel 2 年之前
父节点
当前提交
27edf992c5
共有 1 个文件被更改,包括 3 次插入3 次删除
  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 {