autoforce 0.1.28 → 0.1.29

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/.autoforce.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.28",
2
+ "version": "0.1.29",
3
3
  "backlogColumn": "Todo",
4
4
  "gitServices": "github",
5
5
  "gitModel": "githubflow",
@@ -464,7 +464,7 @@ class Context {
464
464
  async askFornewIssueNumber() {
465
465
  if (this.options.issue && this.projectApi) {
466
466
  const issues = await this.projectApi.searchIssues(this.options.issue);
467
- if (issues.length === 1) {
467
+ if (issues.length > 0) {
468
468
  return `${issues[0].number}`;
469
469
  }
470
470
  }
@@ -2,14 +2,11 @@
2
2
  "name": "publish",
3
3
  "guards": ["$NPM_TOKEN"],
4
4
  "arguments": {
5
- "newVersion": { "required": true }
5
+ "newVersion": { "required": true , "default": "${version}" }
6
6
  },
7
7
  "description": "Comando para publicar un requerimiento al ambiente",
8
8
  "steps": [
9
- { "name": "Actualiza la version", "function": "storeConfig", "arguments": ["version", "${newVersion}"] },
10
- { "name": "Paquetiza", "subtask": "pack" },
11
9
  { "name": "Salida para el Changelog.md", "task": "list", "arguments": {"filter": "milestone", "template": "changelog", "milestone": "v${newVersion}"} },
12
- { "name": "Publica", "command": "yarn publish ", "arguments": {"--new-version": "${newVersion}"} },
13
10
  { "name": "Actualiza el milestone", "function": "updateMilestone", "arguments": ["v${newVersion}", "closed"] }
14
11
  ]
15
12
  }
@@ -18,6 +18,7 @@
18
18
  "--definition-file": "${projectPath}/config/project-scratch-def.json",
19
19
  "--alias": "${scratchName}",
20
20
  "--name": "${scratchName}",
21
+ "--wait": "120",
21
22
  "--duration-days": "${dias}"
22
23
  },
23
24
  "errorMessage": "No se pudo crear la scracth org, verifique que no se haya pasado del limite scratchs (3 activas)* sf org list --clean\n* o bien si quedo en la mitad del proceso\n* sf org resume. Pruebe manualmente: ${command}"
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "autoforce",
3
3
  "homepage": "https://sebastianclaros.github.io/autoforce",
4
4
  "private": false,
5
- "version": "0.1.28",
5
+ "version": "0.1.29",
6
6
  "keywords": [
7
7
  "Salesforce",
8
8
  "Automation",