Skip to content

Commit

Permalink
fix: release action token fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qati committed Jan 30, 2025
1 parent dd2906c commit e61cec6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
env:
PYPI_USERNAME: __token__
PYPI_PASSWORD: ${{secrets.FETCHBOT_PYPI_TOKEN}}
PYPI_PASSWORD_FOR_CORE: ${{ secrets.FETCHBOT_PYPI_TOKEN_FOR_CORE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ github.token }}
run: |
Expand All @@ -48,6 +49,8 @@ jobs:
if [[ "${{ github.event.pull_request.head.ref }}" == release/core@* ]]; then
export PACKAGE="core"
unset PYPI_PASSWORD
export PYPI_PASSWORD=$PYPI_PASSWORD_FOR_CORE
fi
python3 ./scripts/do_release.py

0 comments on commit e61cec6

Please sign in to comment.