cob-cli 2.43.1 → 2.43.3

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.
@@ -176,6 +176,12 @@ function copyAndMerge(customizationRepoName, source, substitutions = {}) {
176
176
  source + ".*/node_modules/" +
177
177
  "|" +
178
178
  source + "/.*\\.sh" +
179
+ "|" +
180
+ source + ".*/pom.xml" +
181
+ "|" +
182
+ source + ".*/target/" +
183
+ "|" +
184
+ source + ".*/test/" +
179
185
  ")"
180
186
  );
181
187
 
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cob-cli",
3
- "version": "2.43.1",
3
+ "version": "2.43.3",
4
4
  "description": "A command line utility to help Cult of Bits partners develop with higher speed and reusing common code and best practices.",
5
5
  "preferGlobal": true,
6
6
  "repository": {