We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9125310 commit 25e87f8Copy full SHA for 25e87f8
.github/workflows/ci.yml
@@ -100,14 +100,15 @@ jobs:
100
git config --local user.email "action@github.com"
101
git config --local user.name "GitHub Action"
102
103
+ - name: Set up PAT for pushing tags
104
+ run: git remote set-url origin https://hieutrtr:${{ secrets.GH_PAT }}@github.com/Cognitive-Stack/mcphub.git
105
+
106
- name: Create and push tag
107
if: steps.check-tag.outputs.tag_exists == 'false'
108
run: |
- # Create a new tag with the version from pyproject.toml
109
git tag -a "v${PACKAGE_VERSION}" -m "Release version ${PACKAGE_VERSION}"
- # Push the tag to the remote repository
110
git push origin "v${PACKAGE_VERSION}"
-
111
112
- name: Build and publish
113
env:
114
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments