Merged in bugfix/tag-all-commits-locally (pull request #61)
bugfix: taggeo todos los commits localmente, incluso en ci Approved-by: Jonathan Teran
This commit is contained in:
@@ -10,7 +10,5 @@ pipelines:
|
|||||||
script:
|
script:
|
||||||
- pip install uv
|
- pip install uv
|
||||||
- uv run git-flow tag --token=$BEARER
|
- uv run git-flow tag --token=$BEARER
|
||||||
- git status
|
|
||||||
- git log --oneline -5
|
|
||||||
- uv build
|
- uv build
|
||||||
- uv publish --token=$PYPI_TOKEN
|
- uv publish --token=$PYPI_TOKEN
|
||||||
|
|||||||
@@ -50,8 +50,8 @@ class TagCommand(Command):
|
|||||||
if ci:
|
if ci:
|
||||||
Git("push").exec(print="Subiendo commit al remoto para taggearlo")
|
Git("push").exec(print="Subiendo commit al remoto para taggearlo")
|
||||||
self.success(self.get_remote_api(token).create_tag(next_tag, tag_commit))
|
self.success(self.get_remote_api(token).create_tag(next_tag, tag_commit))
|
||||||
else:
|
|
||||||
Git("tag", next_tag, tag_commit).exec(print="Creando tag localmente")
|
Git("tag", next_tag, tag_commit).exec(print="Creando tag localmente")
|
||||||
|
|
||||||
def get_token_and_ci(self, args: Namespace):
|
def get_token_and_ci(self, args: Namespace):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user