Skip to content

Commit b06a4d3

Browse files
committed
chore: bump version v1.7.5
1 parent 029c243 commit b06a4d3

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
author = 'Andy Byers, Mauro Sanchez & Martin Paul Eve'
2525

2626
# The short X.Y version
27-
version = '1.7.4'
27+
version = '1.7.5'
2828
# The full version, including alpha/beta/rc tags
29-
release = '1.7.4'
29+
release = '1.7.5'
3030

3131
# -- General configuration ---------------------------------------------------
3232

src/janeway/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
from packaging import version
2-
__version__ = version.parse("1.7.4")
2+
__version__ = version.parse("1.7.5")
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Generated by Django 4.2.15 on 2024-10-25 14:18
2+
3+
from django.db import migrations, models
4+
from django.utils import timezone
5+
6+
VERSION = "1.7.5"
7+
8+
9+
def rollback(apps, schema_editor):
10+
version_model = apps.get_model("utils", "Version")
11+
latest_version = version_model.objects.get(number=VERSION, rollback=None)
12+
latest_version.rollback = timezone.now()
13+
latest_version.save()
14+
15+
16+
def upgrade(apps, schema_editor):
17+
version_model = apps.get_model("utils", "Version")
18+
new_version = version_model.objects.create(number=VERSION)
19+
new_version.save()
20+
21+
22+
class Migration(migrations.Migration):
23+
24+
dependencies = [
25+
('utils', '0039_upgrade_1_7_4'),
26+
]
27+
28+
operations = [
29+
migrations.RunPython(upgrade, reverse_code=rollback),
30+
]

0 commit comments

Comments
 (0)