diff --git a/.ebextensions/.config b/.ebextensions/.config index e2578ec2..8f3bf65d 100644 --- a/.ebextensions/.config +++ b/.ebextensions/.config @@ -1,5 +1,5 @@ option_settings: - option_name: WB_DB_URI - value: datomic:ddb://us-east-1/WS277/wormbase + value: datomic:ddb://us-east-1/WS277.1/wormbase - option_name: _JAVA_OPTIONS value: "-Xmx14g" diff --git a/CHANGES.md b/CHANGES.md index 479ea0c4..db35c8ac 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [1.3.2] - 2020-07-14 +- Minor changes for releasing data hotfix WS277.1 + ## [1.3.1] - 2020-06-26 - Initial WS277 release diff --git a/Dockerrun.aws.json b/Dockerrun.aws.json index 115a52dd..dd15236d 100644 --- a/Dockerrun.aws.json +++ b/Dockerrun.aws.json @@ -1,7 +1,7 @@ { "AWSEBDockerrunVersion": 1, "Image": { - "Name": "357210185381.dkr.ecr.us-east-1.amazonaws.com/wormbase/rest:1.3.1", + "Name": "357210185381.dkr.ecr.us-east-1.amazonaws.com/wormbase/rest:1.3.2", "Update": "true" }, "Ports": [ diff --git a/jenkins-ci-deploy.sh b/jenkins-ci-deploy.sh index 33132b8f..9bbe9370 100644 --- a/jenkins-ci-deploy.sh +++ b/jenkins-ci-deploy.sh @@ -18,5 +18,5 @@ docker rm wormbase-rest make build-latest make clean -export WB_DB_URI="datomic:ddb://us-east-1/WS277/wormbase" +export WB_DB_URI="datomic:ddb://us-east-1/WS277.1/wormbase" make run-latest diff --git a/src/rest_api/db/sequence.clj b/src/rest_api/db/sequence.clj index 9f310829..998b5220 100644 --- a/src/rest_api/db/sequence.clj +++ b/src/rest_api/db/sequence.clj @@ -8,7 +8,14 @@ [rest-api.db.sequencesql :as sequencesql])) (defn database-version [] - (pace-utils/wbdb-name (db/datomic-uri))) + (first + (str/split + (second + (reverse + (str/split + (db/datomic-uri) + #"/"))) + #"\."))) (def species-assemblies (->> "ASSEMBLIES.json"