Compare commits

...
6 Commits
3 changed files with 24 additions and 6 deletions
+8 -4
View File
@@ -10,6 +10,8 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v7 uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Configure git - name: Configure git
run: | run: |
@@ -17,15 +19,17 @@ jobs:
git config --global user.email "actions@git.jonathanteran.dev" git config --global user.email "actions@git.jonathanteran.dev"
git config --global --add safe.directory "$GITHUB_WORKSPACE" git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Set up Python - name: "Set up Python"
uses: actions/setup-python@v6 uses: actions/setup-python@v6
with: with:
python-version-file: ".python-version" python-version-file: ".python-version"
- name: Install git-flow and bump version - name: Install uv
uses: astral-sh/setup-uv@v8.3.2
- name: Bump version
run: | run: |
pip install git-flow-envs=="${{ vars.GITFLOWENVS_VERSION }}" uv run git-flow tag --token="${{ secrets.GITEA_TOKEN }}"
git-flow tag --token="${{ secrets.GITEA_TOKEN }}"
- name: Build and publish - name: Build and publish
run: | run: |
+14
View File
@@ -1,3 +1,17 @@
## v1.22.3 - 2026-09-21
- **bugfix**: tag locally for workflow to run [[jteran](mailto:jteran@renatre.org.ar)] (24a40c9)
---
## v1.22.2 - 2026-09-21
- **bugfix**: fix workflow pipeline [[jteran](mailto:jteran@renatre.org.ar)] (82c78c7)
---
## v1.22.1 - 2026-09-21 ## v1.22.1 - 2026-09-21
- **refactor**: update remote tag fetching behaviour so it uses api instead of shallow clone [[jteran](mailto:jteran@renatre.org.ar)] (22ba8f5) - **refactor**: update remote tag fetching behaviour so it uses api instead of shallow clone [[jteran](mailto:jteran@renatre.org.ar)] (22ba8f5)
+2 -2
View File
@@ -80,8 +80,8 @@ def tag(token: Optional[str] = None):
Git("push").exec() Git("push").exec()
base.get_remote_api(token).create_tag(next_tag, tag_commit) base.get_remote_api(token).create_tag(next_tag, tag_commit)
print(next_tag) print(next_tag)
else:
Git("tag", next_tag, tag_commit).exec(print="Creando tag localmente") Git("tag", next_tag, tag_commit).exec(print=None if ci else "Creando tag localmente")
def get_token_and_ci(token: Optional[str]): def get_token_and_ci(token: Optional[str]):