From 9fa36a77468308937478150f99ac55c1d3bddd96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 16 Jul 2023 22:03:19 +0200 Subject: [PATCH] Upgrade gitea to 1.20.0 --- conf/source/arm.src | 4 ++-- conf/source/arm64.src | 4 ++-- conf/source/arm64_1.19.src | 5 +++++ conf/source/arm_1.19.src | 5 +++++ conf/source/armv7.src | 4 ++-- conf/source/armv7_1.19.src | 8 ++++++++ conf/source/i386.src | 4 ++-- conf/source/i386_1.19.src | 5 +++++ conf/source/x86-64.src | 4 ++-- conf/source/x86-64_1.19.src | 5 +++++ manifest.json | 2 +- scripts/upgrade | 4 ++++ 12 files changed, 43 insertions(+), 11 deletions(-) create mode 100644 conf/source/arm64_1.19.src create mode 100644 conf/source/arm_1.19.src create mode 100644 conf/source/armv7_1.19.src create mode 100644 conf/source/i386_1.19.src create mode 100644 conf/source/x86-64_1.19.src diff --git a/conf/source/arm.src b/conf/source/arm.src index 92b5a6d..970e5be 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.19.4/gitea-1.19.4-linux-arm-6 -SOURCE_SUM=befb106cf527244fdb2c40e2493d6831d4863bc2d3fe8304b6a96336f4c7e916 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.0/gitea-1.20.0-linux-arm-6 +SOURCE_SUM=27229bcd1560721316f1437099bb4f197d612a469bb3279c78437e412273acba SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64.src b/conf/source/arm64.src index 1bf1fdd..78ea822 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.19.4/gitea-1.19.4-linux-arm64 -SOURCE_SUM=db147f43fa523a1ff9c7ae3acee9cde48b1b04ef1ca415a6429c781078ce2568 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.0/gitea-1.20.0-linux-arm64 +SOURCE_SUM=55f04ae775f9ff0e8547b112946e1721656721d123a78b90f1d4275536900a76 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64_1.19.src b/conf/source/arm64_1.19.src new file mode 100644 index 0000000..1bf1fdd --- /dev/null +++ b/conf/source/arm64_1.19.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.4/gitea-1.19.4-linux-arm64 +SOURCE_SUM=db147f43fa523a1ff9c7ae3acee9cde48b1b04ef1ca415a6429c781078ce2568 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/arm_1.19.src b/conf/source/arm_1.19.src new file mode 100644 index 0000000..92b5a6d --- /dev/null +++ b/conf/source/arm_1.19.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.4/gitea-1.19.4-linux-arm-6 +SOURCE_SUM=befb106cf527244fdb2c40e2493d6831d4863bc2d3fe8304b6a96336f4c7e916 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/armv7.src b/conf/source/armv7.src index b61a10f..6f8cb94 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.19.4/gitea-1.19.4-linux-arm-6 -SOURCE_SUM=befb106cf527244fdb2c40e2493d6831d4863bc2d3fe8304b6a96336f4c7e916 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.0/gitea-1.20.0-linux-arm-6 +SOURCE_SUM=27229bcd1560721316f1437099bb4f197d612a469bb3279c78437e412273acba SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/armv7_1.19.src b/conf/source/armv7_1.19.src new file mode 100644 index 0000000..b61a10f --- /dev/null +++ b/conf/source/armv7_1.19.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.19.4/gitea-1.19.4-linux-arm-6 +SOURCE_SUM=befb106cf527244fdb2c40e2493d6831d4863bc2d3fe8304b6a96336f4c7e916 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/i386.src b/conf/source/i386.src index 11a39fe..83c8321 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.19.4/gitea-1.19.4-linux-386 -SOURCE_SUM=70fe6293587d467b8c31d8ab18d8b3abb603bb7a72b7cd90839e84a155cb89b5 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.0/gitea-1.20.0-linux-386 +SOURCE_SUM=38f496e29e9ae3de97b0edcc5cb6eb96f33943d8da3fa024cd59936e736544dd SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/i386_1.19.src b/conf/source/i386_1.19.src new file mode 100644 index 0000000..11a39fe --- /dev/null +++ b/conf/source/i386_1.19.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.4/gitea-1.19.4-linux-386 +SOURCE_SUM=70fe6293587d467b8c31d8ab18d8b3abb603bb7a72b7cd90839e84a155cb89b5 +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 21b743f..fbc09a6 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.19.4/gitea-1.19.4-linux-amd64 -SOURCE_SUM=bf68e8e39c70dc54a7876527d463b517f8af51a2d2924511cd047f479cd8aefd +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.0/gitea-1.20.0-linux-amd64 +SOURCE_SUM=a4db83051bcd5019ecb7879301f849a6513a5c074f1f684be1b39135747c70c9 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/x86-64_1.19.src b/conf/source/x86-64_1.19.src new file mode 100644 index 0000000..21b743f --- /dev/null +++ b/conf/source/x86-64_1.19.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.4/gitea-1.19.4-linux-amd64 +SOURCE_SUM=bf68e8e39c70dc54a7876527d463b517f8af51a2d2924511cd047f479cd8aefd +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/manifest.json b/manifest.json index 9333204..d88aae3 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ }, "url": "http://gitea.io", "license": "MIT", - "version": "1.19.4~ynh1", + "version": "1.20.0~ynh1", "maintainer": { "name": "Josué Tille", "email": "josue@tille.ch" diff --git a/scripts/upgrade b/scripts/upgrade index 5ba4591..2a00a83 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -241,6 +241,10 @@ case $upstream_version in ynh_setup_source $final_path source/${architecture}_1.18 restart_gitea ;& +"1.18."* ) + ynh_setup_source $final_path source/${architecture}_1.19 + restart_gitea +;& esac # Install gitea source