cob-cli 2.43.1 → 2.43.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -49,10 +49,10 @@ async function registerRelease(cmdEnv) {
|
|
|
49
49
|
if (diffs) {
|
|
50
50
|
// Add deploy tags to repo
|
|
51
51
|
git().fetch(["--tags","-f"]) // Apenas para ter certeza que temos todas as tags
|
|
52
|
-
try {
|
|
52
|
+
try {
|
|
53
53
|
await git().silent(true).tag([deploySignature, "-d"])
|
|
54
54
|
} catch {}
|
|
55
|
-
|
|
55
|
+
|
|
56
56
|
await git().addAnnotatedTag(deploySignature, newDeployText )
|
|
57
57
|
await git().push(["-f", "origin", deploySignature])
|
|
58
58
|
git().fetch(["--tags","-f"]) // Apenas para ter certeza que temos todas as tags
|
|
@@ -66,9 +66,9 @@ async function getLastDeployedSha(server) {
|
|
|
66
66
|
let result
|
|
67
67
|
try {
|
|
68
68
|
result = await execa('ssh', [server, "cat " + SERVER_LAST_SHA_FILE ]);
|
|
69
|
-
} catch (error) {
|
|
69
|
+
} catch (error) {
|
|
70
70
|
await execa('ssh', [server, "mkdir -p " + SERVER_COB_CLI_DIRECTORY ]);
|
|
71
|
-
await execa('ssh', [server, "setfacl -d -m group:users:rw " + SERVER_COB_CLI_DIRECTORY ]);
|
|
71
|
+
// await execa('ssh', [server, "setfacl -d -m group:users:rw " + SERVER_COB_CLI_DIRECTORY ]);
|
|
72
72
|
return null
|
|
73
73
|
}
|
|
74
74
|
return result.stdout;
|
package/package.json
CHANGED