Skip to content

Commit

Permalink
ci: fix cz bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanchristopheruel committed May 28, 2024
1 parent 8ab8d19 commit 0d23d8e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,26 @@ jobs:
bump_version_and_tag:
if: "!startsWith(github.event.head_commit.message, 'bump:')"
#if: "github.event_name == 'push' && github.ref == 'refs/heads/main' && !startsWith(github.event.head_commit.message, 'bump:')"
name: Bump version and tag on main
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
ssh-key: "${{ secrets.COMMIT_KEY }}"
token: "${{ secrets.GITHUB_TOKEN }}"
- name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master
with:
push: false
- name: Print Version
run: echo "Bumped to version ${{ steps.cz.outputs.version }}"
- name: Push using ssh
#if: github.event_name == 'push'
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "[email protected]"
git push --tags
build_wheels:
Expand All @@ -65,6 +69,7 @@ jobs:
strategy:
matrix:
os: [macos-14]
#os: [ubuntu-latest, windows-latest, macos-13, macos-14]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down

0 comments on commit 0d23d8e

Please sign in to comment.