eitri-cli 1.25.0-beta.2 → 1.25.0-beta.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.
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/src/cmd/push-version.js
CHANGED
|
@@ -54,8 +54,8 @@ module.exports = async function pushVersion(cmdObj) {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
const currentBranch = childProcess.execSync("git branch --show-current", {encoding: 'utf-8'}).trim();
|
|
57
|
-
const
|
|
58
|
-
const isAllowedFlow =
|
|
57
|
+
const allowedBranches = ["main", "master"]
|
|
58
|
+
const isAllowedFlow = allowedBranches?.includes(currentBranch)
|
|
59
59
|
if(!isAllowedFlow){
|
|
60
60
|
const warningMessages = [
|
|
61
61
|
'\n\n',
|
|
@@ -146,10 +146,10 @@ ${await targetService.getAppConfExampleSnippet()}
|
|
|
146
146
|
const silentOnConnect = !cmdObj.verbose
|
|
147
147
|
await miniLog.connect(tempWorkspaceId, silentOnConnect)
|
|
148
148
|
|
|
149
|
-
LogVerbose(cmdObj.verbose, "\n
|
|
149
|
+
LogVerbose(cmdObj.verbose, "\n Analisando versões...")
|
|
150
150
|
|
|
151
151
|
const { target } = await workspace.checkVersions();
|
|
152
|
-
LogSuccess("5/7 ✓ Versões das bibliotecas
|
|
152
|
+
LogSuccess("5/7 ✓ Versões das bibliotecas analisadas.");
|
|
153
153
|
|
|
154
154
|
LogVerbose(cmdObj.verbose, " ✓ Preparando os arquivos do seu Eitri-App...")
|
|
155
155
|
|
|
@@ -166,8 +166,8 @@ ${await targetService.getAppConfExampleSnippet()}
|
|
|
166
166
|
LogSuccess("7/7 ✓ Concluído");
|
|
167
167
|
|
|
168
168
|
console.log(separator)
|
|
169
|
-
console.log(`\x1b[
|
|
170
|
-
console.log('\x1b[
|
|
169
|
+
console.log(`\x1b[1m A versão [${miniConf.version}] do seu Eitri-App foi enviada e está\x1b[0m`);
|
|
170
|
+
console.log('\x1b[1m disponível no Eitri Console em \x1b[0m');
|
|
171
171
|
|
|
172
172
|
const consoleBaseUrl = config.get("managerFront").url
|
|
173
173
|
const orgUrl = `/org/${workspace._miniConf.organizationId}`
|