update release function to perate on upstream and remove dynamic versioning

This commit is contained in:
Brian Kohan 2025-12-01 23:22:52 -08:00
parent 517e576097
commit 3299e38050
No known key found for this signature in database
GPG Key ID: 5C6CE8BA38C43FC1
3 changed files with 4 additions and 3 deletions

View File

@ -238,4 +238,4 @@ validate_version VERSION:
release VERSION: release VERSION:
@just validate_version v{{ VERSION }} @just validate_version v{{ VERSION }}
git tag -s v{{ VERSION }} -m "{{ VERSION }} Release" git tag -s v{{ VERSION }} -m "{{ VERSION }} Release"
git push origin v{{ VERSION }} git push upstream v{{ VERSION }}

View File

@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project] [project]
name = "django-polymorphic" name = "django-polymorphic"
dynamic = ["version"] version = "4.2.0"
description = "Seamless polymorphic inheritance for Django models." description = "Seamless polymorphic inheritance for Django models."
readme = "README.md" readme = "README.md"
license = "BSD-3-Clause" license = "BSD-3-Clause"

View File

@ -1,5 +1,5 @@
version = 1 version = 1
revision = 2 revision = 3
requires-python = ">=3.10, <4.0" requires-python = ">=3.10, <4.0"
resolution-markers = [ resolution-markers = [
"python_full_version >= '3.11'", "python_full_version >= '3.11'",
@ -555,6 +555,7 @@ wheels = [
[[package]] [[package]]
name = "django-polymorphic" name = "django-polymorphic"
version = "4.2.0"
source = { editable = "." } source = { editable = "." }
dependencies = [ dependencies = [
{ name = "django" }, { name = "django" },