From f1d06a571e1ab6884e9d6f3c61a0d9ad1b040cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 15 Nov 2023 22:03:22 +0100 Subject: [PATCH] Upgrade gitea to 1.21.0 --- conf/source/arm.src | 4 ++-- conf/source/arm64.src | 4 ++-- conf/source/arm64_1.20.src | 5 +++++ conf/source/arm_1.20.src | 5 +++++ conf/source/armv7.src | 4 ++-- conf/source/armv7_1.20.src | 8 ++++++++ conf/source/i386.src | 4 ++-- conf/source/i386_1.20.src | 5 +++++ conf/source/x86-64.src | 4 ++-- conf/source/x86-64_1.20.src | 5 +++++ manifest.json | 2 +- scripts/upgrade | 4 ++++ 12 files changed, 43 insertions(+), 11 deletions(-) create mode 100644 conf/source/arm64_1.20.src create mode 100644 conf/source/arm_1.20.src create mode 100644 conf/source/armv7_1.20.src create mode 100644 conf/source/i386_1.20.src create mode 100644 conf/source/x86-64_1.20.src diff --git a/conf/source/arm.src b/conf/source/arm.src index 5aeddfc..f374e3c 100644 --- a/conf/source/arm.src +++ b/conf/source/arm.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-arm-6 -SOURCE_SUM=9d2312367c8cc06f85dc29d7a5901d32ef2128f182a343a0c30a84a8292781ab +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.21.0/gitea-1.21.0-linux-arm-6 +SOURCE_SUM=fe91ea3d2b72b8894320b6a478da7d098be566663a8a844d50aff92479c56c02 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64.src b/conf/source/arm64.src index f71b680..42542c1 100644 --- a/conf/source/arm64.src +++ b/conf/source/arm64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-arm64 -SOURCE_SUM=4ebd424505df2a88c9741e23408bd0329721b1d2539b589950de4f109196a43d +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.21.0/gitea-1.21.0-linux-arm64 +SOURCE_SUM=255989e3a4e3305bb0c497b6133ae0596c644dd785eab0af11c167b45a1f0716 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64_1.20.src b/conf/source/arm64_1.20.src new file mode 100644 index 0000000..f71b680 --- /dev/null +++ b/conf/source/arm64_1.20.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-arm64 +SOURCE_SUM=4ebd424505df2a88c9741e23408bd0329721b1d2539b589950de4f109196a43d +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/arm_1.20.src b/conf/source/arm_1.20.src new file mode 100644 index 0000000..5aeddfc --- /dev/null +++ b/conf/source/arm_1.20.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-arm-6 +SOURCE_SUM=9d2312367c8cc06f85dc29d7a5901d32ef2128f182a343a0c30a84a8292781ab +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/armv7.src b/conf/source/armv7.src index f107b3f..0e3b8a6 100644 --- a/conf/source/armv7.src +++ b/conf/source/armv7.src @@ -1,8 +1,8 @@ # The armv7 build is brocken # See : https://github.com/go-gitea/gitea/issues/6700 # Use temporary the armv6 binary -SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-arm-6 -SOURCE_SUM=9d2312367c8cc06f85dc29d7a5901d32ef2128f182a343a0c30a84a8292781ab +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.21.0/gitea-1.21.0-linux-arm-6 +SOURCE_SUM=fe91ea3d2b72b8894320b6a478da7d098be566663a8a844d50aff92479c56c02 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/armv7_1.20.src b/conf/source/armv7_1.20.src new file mode 100644 index 0000000..f107b3f --- /dev/null +++ b/conf/source/armv7_1.20.src @@ -0,0 +1,8 @@ +# The armv7 build is brocken +# See : https://github.com/go-gitea/gitea/issues/6700 +# Use temporary the armv6 binary +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-arm-6 +SOURCE_SUM=9d2312367c8cc06f85dc29d7a5901d32ef2128f182a343a0c30a84a8292781ab +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/i386.src b/conf/source/i386.src index e167ee0..ae7806a 100644 --- a/conf/source/i386.src +++ b/conf/source/i386.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-386 -SOURCE_SUM=2a0dff4c14d7d08008feb009284cc10599a0c19090b0b6d82d57d8ca87e53f12 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.21.0/gitea-1.21.0-linux-386 +SOURCE_SUM=c4b0e4869fa48c7279ccff33fde0d9da8ca9855bd639a29c421805a08696566c SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/i386_1.20.src b/conf/source/i386_1.20.src new file mode 100644 index 0000000..e167ee0 --- /dev/null +++ b/conf/source/i386_1.20.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-386 +SOURCE_SUM=2a0dff4c14d7d08008feb009284cc10599a0c19090b0b6d82d57d8ca87e53f12 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/x86-64.src b/conf/source/x86-64.src index 78b492d..88cede1 100644 --- a/conf/source/x86-64.src +++ b/conf/source/x86-64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-amd64 -SOURCE_SUM=ae8d21f36098a62272fcfa67ecbb567d0ba6cf5aecaaab29a6b98a407d435bdf +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.21.0/gitea-1.21.0-linux-amd64 +SOURCE_SUM=ff8aecf97f66f4a3ec55532f26716612457738b93f5f667124fdd6c59fddd735 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/x86-64_1.20.src b/conf/source/x86-64_1.20.src new file mode 100644 index 0000000..78b492d --- /dev/null +++ b/conf/source/x86-64_1.20.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-amd64 +SOURCE_SUM=ae8d21f36098a62272fcfa67ecbb567d0ba6cf5aecaaab29a6b98a407d435bdf +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/manifest.json b/manifest.json index 1d72aba..35ae07b 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ }, "url": "http://gitea.io", "license": "MIT", - "version": "1.20.5~ynh1", + "version": "1.21.0~ynh1", "maintainer": { "name": "Josué Tille", "email": "josue@tille.ch" diff --git a/scripts/upgrade b/scripts/upgrade index 2a00a83..bcd1d13 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -245,6 +245,10 @@ case $upstream_version in ynh_setup_source $final_path source/${architecture}_1.19 restart_gitea ;& +"1.19."* ) + ynh_setup_source $final_path source/${architecture}_1.20 + restart_gitea +;& esac # Install gitea source