Skip to content

Building AI agents, atomically

Update python-publish.yml

Kenny Vaneetvelded8d78bbe472e
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml
index e48ce22..4a66b37 100644
--- a/.github/workflows/python-publish.yml
+++ b/.github/workflows/python-publish.yml
@@ -28,6 +28,7 @@ jobs:
- name: Bump version in pyproject.toml
run: |
VERSION=$(echo $GITHUB_REF | sed 's/refs\/tags\/v//')
+ echo "VERSION=$VERSION" >> $GITHUB_ENV
sed -i "s/^version = .*/version = \"$VERSION\"/" pyproject.toml
shell: bash
@@ -52,8 +53,9 @@ jobs:
- name: Enable Auto-Merge
uses: pascalgn/[email protected]
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- token: ${{ secrets.GITHUB_TOKEN }}
merge-method: squash
required-labels: automerge
delete-branch: true