Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix release trigger workflow #1009

Merged
merged 2 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/detect-and-tag-new-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,16 @@ jobs:
- name: Set up git user
# Note: we cannot use the default user here or things like fregante/setup-git-user@v1
# because this will magically not trigger the cd.yml workflow (it turns out the on:push:tags
# trigger does not work for tags pushed by the GitHub Actions bot).
# trigger does not work for tags pushed using the GitHub Actions bot's token).
run: |
git config --global user.email "[email protected]"
git config --global user.name "Ludovico Bot"

- name: Publish the new tag
# Trigger the cd.yml workflow if a new tag is detected.
if: steps.check-tag.outputs.exists != 'true'
env:
GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
run: |
git tag -a v${{ steps.get-version.outputs.version }} -m "Release v${{ steps.get-version.outputs.version }}"
git push origin v${{ steps.get-version.outputs.version }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "viadot2"
version = "2.1.8"
version = "2.1.9"
description = "A simple data ingestion library to guide data flows from some places to other places."
authors = [
{ name = "acivitillo", email = "[email protected]" },
Expand Down
Loading