File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -92,9 +92,9 @@ ENV JAVA_HOME /docker-java-home
92
92
ENV SILVERPEAS_HOME /opt/silverpeas
93
93
ENV JBOSS_HOME /opt/wildfly
94
94
95
- ENV SILVERPEAS_VERSION=6.3.4
95
+ ENV SILVERPEAS_VERSION=6.3.5
96
96
ENV WILDFLY_VERSION=26.1.1
97
- LABEL name="Silverpeas 6.3.4 " description="Image to install and to run Silverpeas 6.3.4 " vendor="Silverpeas" version="6.3.4 " build=1
97
+ LABEL name="Silverpeas 6.3.5 " description="Image to install and to run Silverpeas 6.3.5 " vendor="Silverpeas" version="6.3.5 " build=1
98
98
99
99
# Fetch both Silverpeas and Wildfly and unpack them into /opt
100
100
RUN wget -nc https://www.silverpeas.org/files/silverpeas-${SILVERPEAS_VERSION}-wildfly${WILDFLY_VERSION%.?.?}.zip \
Original file line number Diff line number Diff line change @@ -15,3 +15,27 @@ GitFetch: refs/heads/$3
15
15
EOE
16
16
}
17
17
18
+ isFirst=1
19
+ currentBase=" "
20
+ count=0
21
+ for version in ` git tag | tac | grep " ^[0-9.]\+$" ` ; do
22
+ base=` echo $version | grep -o " [0-9].[0-9]" `
23
+ if [ " $base " != " $currentBase " ]; then
24
+ currentBase=" $base "
25
+ else
26
+ continue
27
+ fi
28
+
29
+ test $count -eq 1 && break
30
+
31
+ count=$(( count + 1 ))
32
+ commit=` git rev-parse ${version} `
33
+ fetch=` echo ${version} | grep -o " [0-9].[0-9]" ` .x
34
+ if [ $isFirst -eq 1 ]; then
35
+ isFirst=0
36
+ printVersion " ${version} , latest" ${commit} ${fetch}
37
+ else
38
+ test $version = " 6.2.3" && version=" 6.2.3-b1"
39
+ printVersion " ${version} " ${commit} ${fetch}
40
+ fi
41
+ done
You can’t perform that action at this time.
0 commit comments