Skip to content

Commit 65dc0cc

Browse files
committed
removing automated github tag publish
1 parent 499e773 commit 65dc0cc

2 files changed

Lines changed: 4 additions & 32 deletions

File tree

.github/workflows/release.yaml

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -71,34 +71,6 @@ jobs:
7171
with:
7272
password: ${{ secrets.PYPI_API_TOKEN }}
7373

74-
- name: Create Git tag
75-
if: env.CREATE_TAG == 'True'
76-
env:
77-
VERSION: ${{ env.VERSION }}
78-
GH_PAT: ${{ secrets.GH_PAT }} # Use PAT secret
79-
run: |
80-
TAG="v$VERSION"
81-
echo "Creating Git tag $TAG using PAT"
82-
git config user.name "github-actions"
83-
git config user.email "actions@github.com"
84-
# use PAT for pushing
85-
git remote set-url origin https://x-access-token:${GH_PAT}@github.com/${{ github.repository }}.git
86-
git tag -a "$TAG" -m "Release $TAG"
87-
git push origin "$TAG"
88-
89-
- name: Create GitHub Release
90-
if: env.CREATE_TAG == 'True'
91-
uses: softprops/action-gh-release@v1
92-
with:
93-
tag_name: v${{ env.VERSION }}
94-
name: Release v${{ env.VERSION }}
95-
env:
96-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
9775

98-
- name: Upload distributions to GitHub Release
99-
if: env.CREATE_TAG == 'True'
100-
uses: softprops/action-gh-release@v1
101-
with:
102-
files: dist/* # upload all built binaries (.whl and .tar.gz)
103-
env:
104-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76+

release_flag.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
UPLOAD_TO_PYPI = True
2-
CREATE_TAG = True
1+
UPLOAD_TO_PYPI = False
2+
CREATE_TAG = False

0 commit comments

Comments
 (0)