Skip to content

Commit

Permalink
Merge pull request #71 from JSchmie/improvement-installer-pyproject-toml
Browse files Browse the repository at this point in the history
When installing from main now, the commit is not used for build version
  • Loading branch information
JSchmie authored Dec 2, 2024
2 parents 095bf38 + a0d4920 commit 056fec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ strict = true
format-jinja = """
{%- if distance == 0 -%}
{{ serialize_pep440(base) }}
{%- elif branch == 'develop' -%}
{%- elif branch == 'develop' or branch == 'main' -%}
{{ serialize_pep440(bump_version(base), dev = distance) }}
{%- else -%}
{{ serialize_pep440(bump_version(base), dev=distance, metadata=[commit]) }}
Expand Down

0 comments on commit 056fec8

Please sign in to comment.