Skip to content

Commit

Permalink
πŸ› Fix release trigger workflow (#1009)
Browse files Browse the repository at this point in the history
* πŸ› Try with dyvenia bot's token

* πŸ”– Bump version
  • Loading branch information
trymzet authored Aug 26, 2024
1 parent 65ae935 commit cbc47e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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

0 comments on commit cbc47e0

Please sign in to comment.