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