From ac81dad2ed329469be2ed8b624fd2bc7a44455c4 Mon Sep 17 00:00:00 2001
From: Vincent Massol <vincent@massol.net>
Date: Mon, 26 Feb 2018 17:53:06 +0100
Subject: [PATCH] XDOCKER-48: Upgrade stable version to 10.1

---
 10/mysql-tomcat/.env          | 2 +-
 10/mysql-tomcat/Dockerfile    | 4 ++--
 10/postgres-tomcat/.env       | 2 +-
 10/postgres-tomcat/Dockerfile | 4 ++--
 build.gradle                  | 4 ++--
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/10/mysql-tomcat/.env b/10/mysql-tomcat/.env
index fe05ae1..7114939 100644
--- a/10/mysql-tomcat/.env
+++ b/10/mysql-tomcat/.env
@@ -1,5 +1,5 @@
 # Default environment values
-XWIKI_VERSION=10.0
+XWIKI_VERSION=10.1
 DB_USER=xwiki
 DB_PASSWORD=xwiki
 DB_DATABASE=xwiki
diff --git a/10/mysql-tomcat/Dockerfile b/10/mysql-tomcat/Dockerfile
index 477518f..5cac9ec 100644
--- a/10/mysql-tomcat/Dockerfile
+++ b/10/mysql-tomcat/Dockerfile
@@ -44,9 +44,9 @@ RUN apt-get update && \
 # Install XWiki as the ROOT webapp context in Tomcat
 # Create the Tomcat temporary directory
 # Configure the XWiki permanent directory
-ENV XWIKI_VERSION=10.0
+ENV XWIKI_VERSION=10.1
 ENV XWIKI_URL_PREFIX "http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-distribution-war/${XWIKI_VERSION}"
-ENV XWIKI_DOWNLOAD_SHA256 20860efc7c8e7263eb4eb663f36754deb683b73432583a3e65393c447a1d4ebf
+ENV XWIKI_DOWNLOAD_SHA256 744d5ac88f1976fe5ac2a6a0d1dd9e2e0916d6657e7feb24063b6b657697167a
 RUN rm -rf /usr/local/tomcat/webapps/* && \
   mkdir -p /usr/local/tomcat/temp && \
   mkdir -p /usr/local/xwiki/data && \
diff --git a/10/postgres-tomcat/.env b/10/postgres-tomcat/.env
index 416fe66..c3f601c 100644
--- a/10/postgres-tomcat/.env
+++ b/10/postgres-tomcat/.env
@@ -1,5 +1,5 @@
 # Default environment values
-XWIKI_VERSION=10.0
+XWIKI_VERSION=10.1
 DB_USER=xwiki
 DB_PASSWORD=xwiki
 DB_DATABASE=xwiki
diff --git a/10/postgres-tomcat/Dockerfile b/10/postgres-tomcat/Dockerfile
index b1d6b0a..1a1c749 100644
--- a/10/postgres-tomcat/Dockerfile
+++ b/10/postgres-tomcat/Dockerfile
@@ -44,9 +44,9 @@ RUN apt-get update && \
 # Install XWiki as the ROOT webapp context in Tomcat
 # Create the Tomcat temporary directory
 # Configure the XWiki permanent directory
-ENV XWIKI_VERSION=10.0
+ENV XWIKI_VERSION=10.1
 ENV XWIKI_URL_PREFIX "http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-distribution-war/${XWIKI_VERSION}"
-ENV XWIKI_DOWNLOAD_SHA256 20860efc7c8e7263eb4eb663f36754deb683b73432583a3e65393c447a1d4ebf
+ENV XWIKI_DOWNLOAD_SHA256 744d5ac88f1976fe5ac2a6a0d1dd9e2e0916d6657e7feb24063b6b657697167a
 RUN rm -rf /usr/local/tomcat/webapps/* && \
   mkdir -p /usr/local/tomcat/temp && \
   mkdir -p /usr/local/xwiki/data && \
diff --git a/build.gradle b/build.gradle
index c869b3b..65507fd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -39,8 +39,8 @@ def tokens = [
         xwikiSha256: '7f389fb1b6db949de12fba7df4f9103d97999f3f456a410593946a1eaa66aed1'
     ],
     '10': [
-        xwikiVersion: '10.0',
-        xwikiSha256: '20860efc7c8e7263eb4eb663f36754deb683b73432583a3e65393c447a1d4ebf'
+        xwikiVersion: '10.1',
+        xwikiSha256: '744d5ac88f1976fe5ac2a6a0d1dd9e2e0916d6657e7feb24063b6b657697167a'
     ]
 ]
 
-- 
GitLab