cob-cli 2.39.2 → 2.39.4
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.
|
@@ -205,7 +205,6 @@ function copyAndMerge(customizationRepoName, source, substitutions = {}) {
|
|
|
205
205
|
transform(read, write) {
|
|
206
206
|
const replaceVarsTransformFunction = new Transform({
|
|
207
207
|
transform: (chunk, encoding, done) => {
|
|
208
|
-
if(chunk.toString().indexOf("_log.css") > 0) console.log(chunk.toString())
|
|
209
208
|
if(/\ufffd/.test(chunk) === true) {
|
|
210
209
|
// If chunk is binary don't change anything
|
|
211
210
|
done(null, chunk)
|
|
@@ -18,16 +18,21 @@ async function registerRelease(cmdEnv) {
|
|
|
18
18
|
currentBranch = "";
|
|
19
19
|
|
|
20
20
|
} else {
|
|
21
|
+
debugger
|
|
21
22
|
if (lastSha != currentSha) { // Only if diferent SHA, otherwise wont do anything, it's a re-deploy
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
try {
|
|
24
|
+
let gitLog = await git().log([lastSha + ".." + currentSha]);
|
|
25
|
+
if (gitLog.all.length) {
|
|
26
|
+
for (let i = 0; i < gitLog.all.length; i++) {
|
|
27
|
+
diffs = diffs
|
|
28
|
+
+ "\n\t * "
|
|
29
|
+
+ gitLog.all[i].message
|
|
30
|
+
+ " [" + gitLog.all[i].hash.slice(0,7) + "]";
|
|
31
|
+
}
|
|
32
|
+
diffs += "\n\n"
|
|
29
33
|
}
|
|
30
|
-
|
|
34
|
+
} catch(e) {
|
|
35
|
+
console.log("Warning:" + e);
|
|
31
36
|
}
|
|
32
37
|
}
|
|
33
38
|
}
|
package/package.json
CHANGED