Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
piankris committed Oct 23, 2024
1 parent 8927622 commit d80abfc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Build and Release

permissions:
contents: write

on:
push:
branches:
- main

jobs:
bump-version:
if: "!startsWith(github.event.head_commit.message, 'bump:')"
runs-on: ubuntu-latest
name: Bump version and create changelog with commitizen
steps:
Expand All @@ -20,14 +22,6 @@ jobs:
uses: commitizen-tools/[email protected]
with:
github_token: ${{ secrets.PAT }}

publish:
if: "startsWith(github.event.head_commit.message, 'bump:')"
runs-on: ubuntu-latest
name: Build and Publish
steps:
- name: Check out
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ dependencies = [

[tool.commitizen]
version = "0.1.0"
version_files = [
# "src/__version__.py",
"pyproject.toml:version"
]
1 change: 0 additions & 1 deletion src/__version__.py

This file was deleted.

0 comments on commit d80abfc

Please sign in to comment.