eitri-cli 1.4.0-beta.5 → 1.4.0-beta.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eitri-cli",
3
- "version": "1.4.0-beta.5",
3
+ "version": "1.4.0-beta.6",
4
4
  "description": "Command Line Interface to make \"Eitri-App\" with code and fire.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -42,10 +42,12 @@ module.exports = async function pushVersion(cmdObj) {
42
42
  const miniConf = workspace.getMiniConf()
43
43
 
44
44
  if (cmdObj?.release) {
45
+ console.log("Iniciando geração de versão com CI")
45
46
  try {
46
47
  await releaseGenerator(cmdObj)
47
48
  const lastTag = childProcess.execSync('git describe --tags --abbrev=0').toString().trim();
48
49
  const newVersion = lastTag?.replace(/^v/, "");
50
+ console.log(`Nova versão preparada: ${newVersion}`)
49
51
 
50
52
  miniConf.version = newVersion
51
53
  const newMiniConf = {
@@ -53,7 +55,9 @@ module.exports = async function pushVersion(cmdObj) {
53
55
  version: newVersion
54
56
  }
55
57
  workspace.setMiniConf(newMiniConf)
56
- console.log(`Versão [${newVersion}] atualizada no eitri-app.conf.js`)
58
+
59
+ const miniConfUpdated = workspace.getMiniConf()
60
+ console.log(`Versão [${miniConfUpdated?.version}] atualizada no eitri-app.conf.js`)
57
61
  } catch (error) {
58
62
  console.error("Erro ao gerar a nova versão: ", error?.message)
59
63
  }
@@ -220,6 +224,7 @@ async function releaseGenerator(cmdObj) {
220
224
  standardVersion({
221
225
  noVerify: true,
222
226
  silent: true,
227
+ releaseCommitMessageFormat: "[skip ci]"
223
228
  }).then(() => {
224
229
  resolve()
225
230
  }).catch(err => {