Skip to content

Commit

Permalink
Adopt new version scheme (nextcloud#1553)
Browse files Browse the repository at this point in the history
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
  • Loading branch information
J0WI authored Aug 5, 2021
1 parent 5d01ceb commit 3a1f59b
Show file tree
Hide file tree
Showing 114 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion 20.0/apache/Dockerfile → 20/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ RUN a2enmod headers rewrite remoteip ;\
} > /etc/apache2/conf-available/remoteip.conf;\
a2enconf remoteip

ENV NEXTCLOUD_VERSION 20.0.11
ENV NEXTCLOUD_VERSION 20.0.12

RUN set -ex; \
fetchDeps=" \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 20.0/fpm-alpine/Dockerfile → 20/fpm-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ RUN { \
VOLUME /var/www/html


ENV NEXTCLOUD_VERSION 20.0.11
ENV NEXTCLOUD_VERSION 20.0.12

RUN set -ex; \
apk add --no-cache --virtual .fetch-deps \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 20.0/fpm/Dockerfile → 20/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ RUN { \
VOLUME /var/www/html


ENV NEXTCLOUD_VERSION 20.0.11
ENV NEXTCLOUD_VERSION 20.0.12

RUN set -ex; \
fetchDeps=" \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 22.0/apache/Dockerfile → 21/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ RUN a2enmod headers rewrite remoteip ;\
} > /etc/apache2/conf-available/remoteip.conf;\
a2enconf remoteip

ENV NEXTCLOUD_VERSION 22.0.0
ENV NEXTCLOUD_VERSION 21.0.4

RUN set -ex; \
fetchDeps=" \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 21.0/fpm-alpine/Dockerfile → 21/fpm-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ RUN { \
VOLUME /var/www/html


ENV NEXTCLOUD_VERSION 21.0.3
ENV NEXTCLOUD_VERSION 21.0.4

RUN set -ex; \
apk add --no-cache --virtual .fetch-deps \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 22.0/fpm/Dockerfile → 21/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ RUN { \
VOLUME /var/www/html


ENV NEXTCLOUD_VERSION 22.0.0
ENV NEXTCLOUD_VERSION 21.0.4

RUN set -ex; \
fetchDeps=" \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 21.0/apache/Dockerfile → 22/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ RUN a2enmod headers rewrite remoteip ;\
} > /etc/apache2/conf-available/remoteip.conf;\
a2enconf remoteip

ENV NEXTCLOUD_VERSION 21.0.3
ENV NEXTCLOUD_VERSION 22.1.0

RUN set -ex; \
fetchDeps=" \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 22.0/fpm-alpine/Dockerfile → 22/fpm-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ RUN { \
VOLUME /var/www/html


ENV NEXTCLOUD_VERSION 22.0.0
ENV NEXTCLOUD_VERSION 22.1.0

RUN set -ex; \
apk add --no-cache --virtual .fetch-deps \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 21.0/fpm/Dockerfile → 22/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ RUN { \
VOLUME /var/www/html


ENV NEXTCLOUD_VERSION 21.0.3
ENV NEXTCLOUD_VERSION 22.1.0

RUN set -ex; \
fetchDeps=" \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion generate-stackbrew-library.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -Eeuo pipefail

stable_channel='21.0.3'
stable_channel='21.0.4'

self="$(basename "$BASH_SOURCE")"
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
Expand Down
2 changes: 1 addition & 1 deletion latest.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.0.0
22.1.0
4 changes: 2 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ variants=(
fpm-alpine
)

min_version='20.0'
min_version='20'

# version_greater_or_equal A B returns whether A >= B
function version_greater_or_equal() {
Expand Down Expand Up @@ -155,7 +155,7 @@ fullversions=( $( curl -fsSL 'https://download.nextcloud.com/server/releases/' |
grep -oE 'nextcloud-[[:digit:]]+(\.[[:digit:]]+){2}' | \
grep -oE '[[:digit:]]+(\.[[:digit:]]+){2}' | \
sort -urV ) )
versions=( $( printf '%s\n' "${fullversions[@]}" | cut -d. -f1-2 | sort -urV ) )
versions=( $( printf '%s\n' "${fullversions[@]}" | cut -d. -f1 | sort -urV ) )
for version in "${versions[@]}"; do
fullversion="$( printf '%s\n' "${fullversions[@]}" | grep -E "^$version" | head -1 )"

Expand Down

0 comments on commit 3a1f59b

Please sign in to comment.