Procházet zdrojové kódy

update git ftech for tag update

Robert před 7 měsíci
rodič
revize
a7fa809c90
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      Prerelease_Build.ps1
  2. 1 1
      Release_Build.ps1

+ 1 - 1
Prerelease_Build.ps1

@@ -30,7 +30,7 @@ if (-not $status) {
 }
 
 #檢查remote是否有新commit未處理
-git fetch
+git fetch --tags -f
 $status = git status --porcelain -b
 if (($status -match "ahead") -or ($status -match "behind") -or ($status -match "gone") )
 {

+ 1 - 1
Release_Build.ps1

@@ -25,7 +25,7 @@ $source_tag="Docker_RC"
 $targetTagPrefix="Docker_v"
 
 #檢查remote是否有新commit未處理
-git fetch
+git fetch --tags -f
 $status = git status --porcelain -b
 if (($status -match "ahead") -or ($status -match "behind") -or ($status -match "gone") )
 {