Compare commits
5
Commits
5171100c76
...
v1.23.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41b7a9e602 | ||
|
|
f35dbc126a | ||
|
|
410c5f9356 | ||
|
|
7a24ccb24c | ||
|
|
dc35b635a1 |
@@ -1,3 +1,10 @@
|
|||||||
|
## v1.23.0 - 2026-09-21
|
||||||
|
|
||||||
|
- **feature**: add fetch depth [[jonathan.nerat](mailto:jonathan.nerat@gmail.com)] (68cec91)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
## v1.22.3 - 2026-09-21
|
## v1.22.3 - 2026-09-21
|
||||||
|
|
||||||
- **bugfix**: tag locally for workflow to run [[jteran](mailto:jteran@renatre.org.ar)] (24a40c9)
|
- **bugfix**: tag locally for workflow to run [[jteran](mailto:jteran@renatre.org.ar)] (24a40c9)
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ def tag(token: str | None = None, update_changelog: bool = False):
|
|||||||
current_tag = base.get_remote_api(token).get_latest_tag(suffix)
|
current_tag = base.get_remote_api(token).get_latest_tag(suffix)
|
||||||
else:
|
else:
|
||||||
# Commits se obtienen del último merge, listando hasta el primer forkpoint
|
# Commits se obtienen del último merge, listando hasta el primer forkpoint
|
||||||
branch = Git("show", merge_commit + "^2", patch=False, format="%h").firstline()
|
branch = Git("show", merge_commit + "^2", patch=False, format="%H").firstline()
|
||||||
fork_point = Git.get_first_fork_point(branch, target)
|
fork_point = Git.get_first_fork_point(branch, target)
|
||||||
commits = Git.get_commits(fork_point, branch)
|
commits = Git.get_commits(fork_point, branch)
|
||||||
# Último tag se obtiene localmente
|
# Último tag se obtiene localmente
|
||||||
@@ -58,8 +58,6 @@ def tag(token: str | None = None, update_changelog: bool = False):
|
|||||||
[c.subject for c in commits], suffix, current_tag
|
[c.subject for c in commits], suffix, current_tag
|
||||||
)
|
)
|
||||||
|
|
||||||
base.io_info(f"Current tag: {current_tag}. Next tag: {next_tag}")
|
|
||||||
|
|
||||||
if not next_tag:
|
if not next_tag:
|
||||||
base.io_warning(
|
base.io_warning(
|
||||||
"Los cambios realizados no implican un salto de versión, se mantiene la anterior."
|
"Los cambios realizados no implican un salto de versión, se mantiene la anterior."
|
||||||
@@ -76,7 +74,7 @@ def tag(token: str | None = None, update_changelog: bool = False):
|
|||||||
if ci:
|
if ci:
|
||||||
Git("push").exec()
|
Git("push").exec()
|
||||||
|
|
||||||
tag_commit = Git("show", "HEAD", patch=False, format="%h").firstline()
|
tag_commit = Git("show", "HEAD", patch=False, format="%H").firstline()
|
||||||
|
|
||||||
if ci:
|
if ci:
|
||||||
base.io_success(base.get_remote_api(token).create_tag(next_tag, tag_commit))
|
base.io_success(base.get_remote_api(token).create_tag(next_tag, tag_commit))
|
||||||
|
|||||||
Reference in New Issue
Block a user