luhaowen 3 долоо хоног өмнө
parent
commit
b6d1c5d1a8

+ 1 - 1
vars/deployDist.groovy

@@ -7,7 +7,7 @@ def call(Map args = [:]) {
     String remotePath  = args.remotePath  ?: env.REMOTE_PATH  ?: error('REMOTE_PATH 未配置')
 
     String remoteDist  = "${remotePath}/${distName}"
-    String backupName  = "${distName}-$(date +%Y%m%d%H%M)"
+    String backupName  = "${distName}-\$(date +%Y%m%d%H%M)"
 
     PrintMes("开始发布 ${distName} 到 ${remoteHost}", 'yellow')