Skip to content

Commit

Permalink
Bump version v1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mauromsl committed Nov 7, 2024
1 parent 7e32d09 commit 396e2f6
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 14 deletions.
14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Janeway Logo](http://www.openlibhums.org/hosted_files/Janeway-Logo-05.png "Janeway")
![Janeway Logo](https://www.openlibhums.org/media/press/Janeway_RGB_Keyline_Logo_Black.png "Janeway")

Janeway is a web-based platform for publishing journals, preprints, conference proceedings, and books. It is developed and maintained by a team of developers at the Open Library of Humanities, part of Birkbeck, University of London.

Expand Down Expand Up @@ -64,16 +64,8 @@ If you wish to get in touch about Janeway, contact information is provided below
Andy Byers, Director of Publishing Technology - [email protected]

# Major Releases
Major releases are listed below. Between v1.3 & v1.4 there were a large number of minor releases. You can find more information on the [releases](https://github.com/BirkbeckCTP/janeway/releases) page.

| Version | Released | Code Name |
|---------|------------|-----------|
| v1.0 | 10/07/2017 | Kathryn |
| v1.1 | 01/09/2017 | Chakotay |
| v1.2 | 06/11/2017 | Tuvok |
| v1.3 | 10/08/2018 | Doctor |
| v1.4 | 25/10/2021 | Kes |
| v1.5 | 07/05/2023 | Torres |
All releases are listed on the [releases](https://github.com/BirkbeckCTP/janeway/releases) page.


# Geolocation
Janeway includes GeoLite2 data created by MaxMind, available from [https://www.maxmind.com](https://www.maxmind.com)
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
author = 'Andy Byers, Mauro Sanchez & Martin Paul Eve'

# The short X.Y version
version = '1.7.1'
version = '1.7.2'
# The full version, including alpha/beta/rc tags
release = '1.7.1'
release = '1.7.2'

# -- General configuration ---------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion src/janeway/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from packaging import version
__version__ = version.parse("1.7.1")
__version__ = version.parse("1.7.2")
30 changes: 30 additions & 0 deletions src/utils/migrations/0038_upgrade_1_7_2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Generated by Django 4.2.15 on 2024-10-25 14:18

from django.db import migrations, models
from django.utils import timezone

VERSION = "1.7.2"


def rollback(apps, schema_editor):
version_model = apps.get_model("utils", "Version")
latest_version = version_model.objects.get(number=VERSION, rollback=None)
latest_version.rollback = timezone.now()
latest_version.save()


def upgrade(apps, schema_editor):
version_model = apps.get_model("utils", "Version")
new_version = version_model.objects.create(number=VERSION)
new_version.save()


class Migration(migrations.Migration):

dependencies = [
('utils', '0037_upgrade_1_7_1'),
]

operations = [
migrations.RunPython(upgrade, reverse_code=rollback),
]

0 comments on commit 396e2f6

Please sign in to comment.