mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-05-17 18:51:51 +02:00
Compare commits
No commits in common. "865253908662b143fa1c32b2a324f6bb8c55cd31" and "3d209fed22b39caea2a5f9fe41e318bd3ab6e189" have entirely different histories.
8652539086
...
3d209fed22
5 changed files with 6 additions and 14 deletions
|
@ -2,15 +2,6 @@
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## 0.7.1
|
||||
|
||||
Date: 2025-01-15
|
||||
|
||||
- 🩹 — Avoid warning from MySQL only alembic instructions
|
||||
- 🩹 — Check before adding/removing ip_version_enum
|
||||
- 📝 — Improve release documentation
|
||||
|
||||
|
||||
## 0.7.0
|
||||
|
||||
Date: 2025-01-14
|
||||
|
|
|
@ -1 +1 @@
|
|||
VERSION = "0.7.1"
|
||||
VERSION = "0.7.0"
|
||||
|
|
|
@ -21,7 +21,7 @@ depends_on: Union[str, Sequence[str], None] = None
|
|||
|
||||
def upgrade() -> None:
|
||||
enum = ENUM("4", "6", name="ip_version_enum", create_type=False)
|
||||
enum.create(op.get_bind(), checkfirst=True)
|
||||
enum.create(op.get_bind(), checkfirst=False)
|
||||
with op.batch_alter_table("tasks", schema=None) as batch_op:
|
||||
batch_op.add_column(
|
||||
sa.Column("ip_version", enum, server_default="4", nullable=False)
|
||||
|
@ -31,4 +31,4 @@ def upgrade() -> None:
|
|||
def downgrade() -> None:
|
||||
with op.batch_alter_table("tasks", schema=None) as batch_op:
|
||||
batch_op.drop_column("ip_version")
|
||||
ENUM(name="ip_version_enum").drop(op.get_bind(), checkfirst=True)
|
||||
ENUM(name="ip_version_enum").drop(op.get_bind(), checkfirst=False)
|
||||
|
|
|
@ -27,6 +27,7 @@ def upgrade() -> None:
|
|||
existing_type=sa.INTEGER(),
|
||||
type_=sa.BigInteger(),
|
||||
existing_nullable=False,
|
||||
autoincrement=True,
|
||||
)
|
||||
|
||||
|
||||
|
@ -39,4 +40,5 @@ def downgrade() -> None:
|
|||
existing_type=sa.BigInteger(),
|
||||
type_=sa.INTEGER(),
|
||||
existing_nullable=False,
|
||||
autoincrement=True,
|
||||
)
|
||||
|
|
|
@ -41,8 +41,7 @@ git add argos/__init__.py CHANGELOG.md
|
|||
git commit -m "🏷 — Bump version ($(hatch version))"
|
||||
|
||||
# Create a tag on the git repository and push it
|
||||
git tag "$(hatch version)" -m "$(hatch version)" &&
|
||||
git push --follow-tags
|
||||
git tag "$(hatch version)" && git push
|
||||
|
||||
# Build the project
|
||||
hatch build --clean
|
||||
|
|
Loading…
Reference in a new issue