Skip to content

Commit

Permalink
Bump version to 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lwrubel committed Jul 7, 2021
1 parent d2bcb73 commit 5bfc1e6
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.3.0
current_version = 2.4.0

[bumpversion:file:docs/conf.py]

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
# built documents.
#
# The full version, including alpha/beta/rc tags.
release = '2.3.0'
release = '2.4.0'
# The short X.Y version.
version = release[0:release.rindex(".")]

Expand Down
20 changes: 10 additions & 10 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ Installing locally requires Docker and Docker-Compose. See :ref:`docker-installi

git clone https://github.com/gwu-libraries/sfm-docker.git
cd sfm-docker
# Replace 2.3.0 with the correct version.
git checkout 2.3.0
# Replace 2.4.0 with the correct version.
git checkout 2.4.0
cp example.prod.docker-compose.yml docker-compose.yml
cp example.env .env

or just download ``example.prod.docker-compose.yml`` and ``example.env`` (replacing 2.3.0 with the correct version)::
or just download ``example.prod.docker-compose.yml`` and ``example.env`` (replacing 2.4.0 with the correct version)::

curl -L https://raw.githubusercontent.com/gwu-libraries/sfm-docker/2.3.0/example.prod.docker-compose.yml > docker-compose.yml
curl -L https://raw.githubusercontent.com/gwu-libraries/sfm-docker/2.3.0/example.env > .env
curl -L https://raw.githubusercontent.com/gwu-libraries/sfm-docker/2.4.0/example.prod.docker-compose.yml > docker-compose.yml
curl -L https://raw.githubusercontent.com/gwu-libraries/sfm-docker/2.4.0/example.env > .env

2. Update configuration in ``.env`` as described in :ref:`install-configuration`.

Expand Down Expand Up @@ -269,13 +269,13 @@ This may take several minutes.
3. Get the latest ``example.prod.docker-compose.yml``. If you previously cloned the sfm-docker repository then::

git pull
# Replace 2.3.0 with the correct version.
git checkout 2.3.0
# Replace 2.4.0 with the correct version.
git checkout 2.4.0
cp example.prod.docker-compose.yml docker-compose.yml

otherwise, replacing 2.3.0 with the correct version::
otherwise, replacing 2.4.0 with the correct version::

curl -L https://raw.githubusercontent.com/gwu-libraries/sfm-docker/2.3.0/example.prod.docker-compose.yml > docker-compose.yml
curl -L https://raw.githubusercontent.com/gwu-libraries/sfm-docker/2.4.0/example.prod.docker-compose.yml > docker-compose.yml

4. If you customized your previous ``docker-compose.yml`` file, make the same changes
in your new ``docker-compose.yml``.
Expand All @@ -288,7 +288,7 @@ in your new ``docker-compose.yml``.

It may take several minutes for the images to be downloaded and the containers to start.

7. Deleting images from the previous version is recommended to prevent Docker from filling up too much space. Replacing 2.3.0 with the correct previous version::
7. Deleting images from the previous version is recommended to prevent Docker from filling up too much space. Replacing 2.4.0 with the correct previous version::

docker rmi $(docker images | grep "2\\.3\\.0" | awk '{print $3}')

Expand Down
2 changes: 1 addition & 1 deletion requirements/release.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
git+https://github.com/gwu-libraries/sfm-utils.git@2.3.0#egg=sfmutils
git+https://github.com/gwu-libraries/sfm-utils.git@2.4.0#egg=sfmutils
2 changes: 1 addition & 1 deletion sfm/sfm/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
SERIALIZE_HOUR = env.get('SFM_SERIALIZE_HOUR', '3')
SERIALIZE_MINUTE = env.get('SFM_SERIALIZE_MINUTE', '0')

SFM_UI_VERSION = "2.3.0"
SFM_UI_VERSION = "2.4.0"

# If a collection is schedules for <= PRIORITY_SCHEDULE_MINUTES,
# the routing key will have .priority appended.
Expand Down

0 comments on commit 5bfc1e6

Please sign in to comment.