From 0ae8f8f87ff7523ed94d2cf5688d3cb31c653c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 2 Dec 2020 21:03:22 +0000 Subject: [PATCH] Upgrade gitea to 1.13.0 --- README.md | 2 +- conf/source/arm.src | 4 ++-- conf/source/arm_1.12.src | 5 +++++ conf/source/armv7.src | 4 ++-- conf/source/armv7_1.12.src | 8 ++++++++ conf/source/i386.src | 4 ++-- conf/source/i386_1.12.src | 5 +++++ conf/source/x86-64.src | 4 ++-- conf/source/x86-64_1.12.src | 5 +++++ manifest.json | 2 +- scripts/upgrade | 4 ++++ 11 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 conf/source/arm_1.12.src create mode 100644 conf/source/armv7_1.12.src create mode 100644 conf/source/i386_1.12.src create mode 100644 conf/source/x86-64_1.12.src diff --git a/README.md b/README.md index 39656d5..6751f3d 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Overview Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to Github. -**Shipped version:** 1.12.6 +**Shipped version:** 1.13.0 Screenshots ----------- diff --git a/conf/source/arm.src b/conf/source/arm.src index 5e44f55..707228b 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.12.6/gitea-1.12.6-linux-arm-6 -SOURCE_SUM=116caba20b596886b03309df0e319a5885ee72e3740e62ac488e4e38f424ca88 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.13.0/gitea-1.13.0-linux-arm-6 +SOURCE_SUM=bdd3e9713e4a96645bbce7a11b06d2bd53968f9b0d1711043e2a44081f548d44 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm_1.12.src b/conf/source/arm_1.12.src new file mode 100644 index 0000000..5e44f55 --- /dev/null +++ b/conf/source/arm_1.12.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.12.6/gitea-1.12.6-linux-arm-6 +SOURCE_SUM=116caba20b596886b03309df0e319a5885ee72e3740e62ac488e4e38f424ca88 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/armv7.src b/conf/source/armv7.src index 00b1c14..0f50ac5 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.12.6/gitea-1.12.6-linux-arm-6 -SOURCE_SUM=116caba20b596886b03309df0e319a5885ee72e3740e62ac488e4e38f424ca88 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.13.0/gitea-1.13.0-linux-arm-6 +SOURCE_SUM=bdd3e9713e4a96645bbce7a11b06d2bd53968f9b0d1711043e2a44081f548d44 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/armv7_1.12.src b/conf/source/armv7_1.12.src new file mode 100644 index 0000000..00b1c14 --- /dev/null +++ b/conf/source/armv7_1.12.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.12.6/gitea-1.12.6-linux-arm-6 +SOURCE_SUM=116caba20b596886b03309df0e319a5885ee72e3740e62ac488e4e38f424ca88 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/i386.src b/conf/source/i386.src index 97ff451..f3e86ce 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.12.6/gitea-1.12.6-linux-386 -SOURCE_SUM=de287e912b32b0617e538f4c9c8d263fc16b5e2ba0b76ea9ab018011e9943316 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.13.0/gitea-1.13.0-linux-386 +SOURCE_SUM=cb8d4fe1168926282512012abe85e879fbfd0ffe326536dddf884889ff73b915 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/i386_1.12.src b/conf/source/i386_1.12.src new file mode 100644 index 0000000..97ff451 --- /dev/null +++ b/conf/source/i386_1.12.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.12.6/gitea-1.12.6-linux-386 +SOURCE_SUM=de287e912b32b0617e538f4c9c8d263fc16b5e2ba0b76ea9ab018011e9943316 +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 477a46a..8d7f4f3 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.12.6/gitea-1.12.6-linux-amd64 -SOURCE_SUM=74417bc8e950b685de79c3a39655029f28d27c99e94adbe83c0ec22325d8771f +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.13.0/gitea-1.13.0-linux-amd64 +SOURCE_SUM=f27d8f17dcd531dab01450cb63313ab4239273f3c2d36f00b6908bed5287f683 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/x86-64_1.12.src b/conf/source/x86-64_1.12.src new file mode 100644 index 0000000..477a46a --- /dev/null +++ b/conf/source/x86-64_1.12.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.12.6/gitea-1.12.6-linux-amd64 +SOURCE_SUM=74417bc8e950b685de79c3a39655029f28d27c99e94adbe83c0ec22325d8771f +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/manifest.json b/manifest.json index 54b028a..dd90b80 100644 --- a/manifest.json +++ b/manifest.json @@ -8,7 +8,7 @@ }, "url": "http://gitea.io", "license": "MIT", - "version": "1.12.6~ynh1", + "version": "1.13.0~ynh1", "maintainer": { "name": "rafi59", "email": "rafi59_dev@srvmaison.fr.nf" diff --git a/scripts/upgrade b/scripts/upgrade index 96f9299..2fc7dd1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -187,6 +187,10 @@ case $upstream_version in ynh_setup_source $final_path source/${architecture}_1.11 restart_gitea ;& +"1.11."* ) + ynh_setup_source $final_path source/${architecture}_1.12 + restart_gitea +;& esac # Install gitea source