Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8e1a7cc88 | ||
|
|
65be7a01f0 | ||
|
|
7ce6addf07 | ||
|
|
824b5f06de | ||
|
|
9937f4b6bc | ||
|
|
053b8b102b | ||
|
|
a2475195b2 | ||
|
|
603519bf39 | ||
|
|
0c8e7bb37a | ||
|
|
6643271747 | ||
|
|
68e11c66d1 | ||
|
|
f1f6e6724c | ||
|
|
83df7e9553 |
@@ -1,3 +1,35 @@
|
||||
## v1.6.3 - 2025-12-04
|
||||
|
||||
- **bugfix**: revertir guion entre version y entorno, agregar guion a sufijo [[jteran](mailto:jteran@renatre.org.ar)] (7ce6add)
|
||||
- **bugfix**: agrego guion entre version y nombre de entorno [[jteran](mailto:jteran@renatre.org.ar)] (053b8b1)
|
||||
|
||||
---
|
||||
|
||||
|
||||
## v1.6.3- - 2025-12-04
|
||||
|
||||
- **bugfix**: agrego guion entre version y nombre de entorno [[jteran](mailto:jteran@renatre.org.ar)] (053b8b1)
|
||||
|
||||
---
|
||||
|
||||
|
||||
## v1.6.2 - 2025-12-04
|
||||
|
||||
- **bugfix**: crear changelog cuando no existe [[jteran](mailto:jteran@renatre.org.ar)] (0c8e7bb)
|
||||
|
||||
---
|
||||
|
||||
|
||||
## v1.6.1 - 2025-11-29
|
||||
|
||||
### Commits
|
||||
|
||||
- **bugfix**: arreglo mensaje de confirmacion de squash, muevo prompt de commit message antes del squash [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (f1f6e67)
|
||||
- **bugfix**: cambio default en confirmacion para agrupar release [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (83df7e9)
|
||||
|
||||
---
|
||||
|
||||
|
||||
## v1.6.0 - 2025-11-29
|
||||
|
||||
### Commits
|
||||
|
||||
@@ -16,8 +16,6 @@ class Changelog:
|
||||
|
||||
return f"""## {title} - {now.strftime("%F")}
|
||||
|
||||
### Commits
|
||||
|
||||
"""
|
||||
|
||||
def generate_content(self, base: str, branch: str):
|
||||
@@ -56,5 +54,6 @@ class Changelog:
|
||||
if isfile(self.FILENAME):
|
||||
with open(self.FILENAME, "r") as f:
|
||||
content += f.read()
|
||||
with open(self.FILENAME, "w") as f:
|
||||
f.write(content)
|
||||
|
||||
with open(self.FILENAME, "w") as f:
|
||||
f.write(content)
|
||||
|
||||
@@ -45,7 +45,7 @@ class ReleaseCommand(Command):
|
||||
|
||||
group = args.group
|
||||
|
||||
if not group and self.confirm("¿Desea agrupar este release con otra rama?"):
|
||||
if not group and self.confirm("¿Desea agrupar este release con otra rama?", False):
|
||||
group = self.choice("Grupo release: ", Git.get_branches("release/" + next_env + "/"))
|
||||
else:
|
||||
group = next_env
|
||||
@@ -59,20 +59,23 @@ class ReleaseCommand(Command):
|
||||
commits = int(Git("rev-list", base + "..", count=True).firstline())
|
||||
|
||||
if commits > 1 and self.confirm(
|
||||
"Desea reemplazar los {commits} commits de la rama por uno solo?"
|
||||
f"¿Desea reemplazar los {commits} commits de la rama por uno solo?",
|
||||
False
|
||||
):
|
||||
Git("switch", next_branch, base, create=True).exec(
|
||||
print="Creando rama release en base"
|
||||
)
|
||||
Git("merge", branch, squash=True).exec(
|
||||
print="Squasheando commits en uno solo"
|
||||
)
|
||||
self.info("Debe ingresar el mensaje del commit a crear.")
|
||||
|
||||
commit_type = self.choice("Tipo de commit", COMMIT_TYPES[:-1])
|
||||
commit_message = self.prompt(
|
||||
"Mensaje (máximo recomendado: 100 caracteres)", persistent=True
|
||||
)
|
||||
message = commit_type + ": " + commit_message
|
||||
|
||||
Git("switch", next_branch, base, create=True).exec(
|
||||
print="Creando rama release en base"
|
||||
)
|
||||
Git("merge", branch, squash=True).exec(
|
||||
print="Squasheando commits en uno solo"
|
||||
)
|
||||
Git("commit", m=message).exec(print="Creando commit único")
|
||||
else:
|
||||
Git("switch", next_branch, create=True).exec(print="Creando rama release")
|
||||
|
||||
@@ -91,7 +91,7 @@ class TagCommand(Command):
|
||||
tag = Git.get_current_tag() or f"v0.0.0-{branch}"
|
||||
|
||||
until_dash = tag.index("-") if "-" in tag else None
|
||||
suffix = tag[until_dash + 1 :] if until_dash is not None else ""
|
||||
suffix = tag[until_dash:] if until_dash is not None else ""
|
||||
[major, minor, patch] = map(int, tag[1:until_dash].split("."))
|
||||
|
||||
if increment == SEMVER_MAJOR:
|
||||
|
||||
Reference in New Issue
Block a user