From fd2ff4dc1c081cbcc8d7b98109851144bfa3585b Mon Sep 17 00:00:00 2001
From: Ludovic Claude <ludovic.claude54@gmail.com>
Date: Mon, 1 May 2017 19:35:09 +0200
Subject: [PATCH] =?UTF-8?q?Revert=20"Bump=20version:=202.0.0=20=E2=86=92?=
 =?UTF-8?q?=202.1.0"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This reverts commit 93263ba9df1d43175e78a37c78bfb3b866d17d26.
---
 .bumpversion.cfg |  3 +--
 Dockerfile       |  2 +-
 hbp.yml          | 10 +++++-----
 pom.xml          |  2 +-
 4 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/.bumpversion.cfg b/.bumpversion.cfg
index dd1aecbd3..db9bd9b67 100644
--- a/.bumpversion.cfg
+++ b/.bumpversion.cfg
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 2.1.0
+current_version = 2.0.0
 commit = True
 tag = True
 tag_name = {new_version}
@@ -13,4 +13,3 @@ replace = <version>{new_version}</version><!-- BUMP_VERSION -->
 [bumpversion:file:Dockerfile]
 
 [bumpversion:file:hbp.yml]
-
diff --git a/Dockerfile b/Dockerfile
index 8c5244eb4..4196234ab 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,7 +16,7 @@ RUN apk add --update ca-certificates wget \
 COPY docker/runner/config/application.tmpl /config/application.tmpl
 COPY docker/runner/README.md docker/runner/run.sh /
 
-ENV PORTAL_BACKEND_VERSION=2.1.0
+ENV PORTAL_BACKEND_VERSION=2.0.0
 
 COPY target/portal-backend-$PORTAL_BACKEND_VERSION.jar backend.jar
 
diff --git a/hbp.yml b/hbp.yml
index 0c1a928b7..32c424582 100644
--- a/hbp.yml
+++ b/hbp.yml
@@ -58,9 +58,9 @@ testing:
     command: ./test.sh
 
 release_management:
-  current_version: 2.1.0
-  current_code_release: https://github.com/HBPMedical/portal-backend/archive/2.1.0.zip
-  current_binary_release: https://pypi.python.org/pypi/portal-backend/2.1.0
+  current_version: 2.0.0
+  current_code_release: https://github.com/HBPMedical/portal-backend/archive/2.0.0.zip
+  current_binary_release: https://pypi.python.org/pypi/portal-backend/2.0.0
   release_script: 'publish.sh'
 
 continuous_integration:
@@ -75,10 +75,10 @@ continuous_integration:
 distribution:
   docker_hub:
     name: hbpmip/portal-backend
-    current_tag: 2.1.0
+    current_tag: 2.0.0
     url: https://hub.docker.com/r/hbpmip/portal-backend/
     badge: https://img.shields.io/badge/docker-hbpmip%2Fportal--backend-008bb8.svg
-    command: docker pull hbpmip/portal-backend:2.1.0
+    command: docker pull hbpmip/portal-backend:2.0.0
 
 planning:
   github:
diff --git a/pom.xml b/pom.xml
index c0b8c2f94..34879a537 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
 
     <groupId>eu.hbp.mip</groupId>
     <artifactId>portal-backend</artifactId>
-    <version>2.1.0</version><!-- BUMP_VERSION -->
+    <version>2.0.0</version><!-- BUMP_VERSION -->
     <packaging>jar</packaging>
 
     <name>portal-backend</name>
-- 
GitLab