From 0c4d32f0697e6eeb525f0c1dfbe4a26f601009aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 10 Feb 2020 21:03:25 +0000 Subject: [PATCH] Upgrade gitea to 1.11.0 --- README.md | 2 +- conf/source/arm.src | 4 ++-- conf/source/arm_1.10.src | 5 +++++ conf/source/armv7.src | 4 ++-- conf/source/armv7_1.10.src | 8 ++++++++ conf/source/i386.src | 4 ++-- conf/source/i386_1.10.src | 5 +++++ conf/source/x86-64.src | 4 ++-- conf/source/x86-64_1.10.src | 5 +++++ manifest.json | 2 +- scripts/upgrade | 4 ++++ 11 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 conf/source/arm_1.10.src create mode 100644 conf/source/armv7_1.10.src create mode 100644 conf/source/i386_1.10.src create mode 100644 conf/source/x86-64_1.10.src diff --git a/README.md b/README.md index 90ffd72..8017d25 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Overview Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to Github. -**Shipped version:** 1.10.3 +**Shipped version:** 1.11.0 Screenshots ----------- diff --git a/conf/source/arm.src b/conf/source/arm.src index b0f51f2..c188055 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.10.3/gitea-1.10.3-linux-arm-6 -SOURCE_SUM=54ca0b8ca9f927c91c69c61da134738b66faf0be68e310f140e56c4f14fe7ecf +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.11.0/gitea-1.11.0-linux-arm-6 +SOURCE_SUM=9b506d9b685f321803539b1e66bb9e9755e389703706d703bca1634ea2227332 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm_1.10.src b/conf/source/arm_1.10.src new file mode 100644 index 0000000..b0f51f2 --- /dev/null +++ b/conf/source/arm_1.10.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.10.3/gitea-1.10.3-linux-arm-6 +SOURCE_SUM=54ca0b8ca9f927c91c69c61da134738b66faf0be68e310f140e56c4f14fe7ecf +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/armv7.src b/conf/source/armv7.src index 85e75ea..8b10dd9 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.10.3/gitea-1.10.3-linux-arm-6 -SOURCE_SUM=54ca0b8ca9f927c91c69c61da134738b66faf0be68e310f140e56c4f14fe7ecf +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.11.0/gitea-1.11.0-linux-arm-6 +SOURCE_SUM=9b506d9b685f321803539b1e66bb9e9755e389703706d703bca1634ea2227332 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/armv7_1.10.src b/conf/source/armv7_1.10.src new file mode 100644 index 0000000..85e75ea --- /dev/null +++ b/conf/source/armv7_1.10.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.10.3/gitea-1.10.3-linux-arm-6 +SOURCE_SUM=54ca0b8ca9f927c91c69c61da134738b66faf0be68e310f140e56c4f14fe7ecf +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/i386.src b/conf/source/i386.src index 8bd8a32..3a00ae8 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.10.3/gitea-1.10.3-linux-386 -SOURCE_SUM=829946f7ba6fced84d42718039db4be4371e10a3166f44ee22c9bfee35747954 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.11.0/gitea-1.11.0-linux-386 +SOURCE_SUM=c817218175c27f2be25a8da6929ec6c00b17a531ee33585c526f9d961531c695 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/i386_1.10.src b/conf/source/i386_1.10.src new file mode 100644 index 0000000..8bd8a32 --- /dev/null +++ b/conf/source/i386_1.10.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.10.3/gitea-1.10.3-linux-386 +SOURCE_SUM=829946f7ba6fced84d42718039db4be4371e10a3166f44ee22c9bfee35747954 +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 1594b3a..f8fa09e 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.10.3/gitea-1.10.3-linux-amd64 -SOURCE_SUM=e4e393da9f3dbcc6b200a58c0ba8c19ef02346ca24d6b273748b8346313053d0 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.11.0/gitea-1.11.0-linux-amd64 +SOURCE_SUM=d4df5f456cf13d49c096525ff762ad70386251d3f0d2805735b5dfade17e88d4 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/x86-64_1.10.src b/conf/source/x86-64_1.10.src new file mode 100644 index 0000000..1594b3a --- /dev/null +++ b/conf/source/x86-64_1.10.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.10.3/gitea-1.10.3-linux-amd64 +SOURCE_SUM=e4e393da9f3dbcc6b200a58c0ba8c19ef02346ca24d6b273748b8346313053d0 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/manifest.json b/manifest.json index a281d2a..292e105 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ }, "url": "http://gitea.io", "license": "MIT", - "version": "1.10.3~ynh1", + "version": "1.11.0~ynh1", "maintainer": { "name": "rafi59", "email": "rafi59_dev@srvmaison.fr.nf" diff --git a/scripts/upgrade b/scripts/upgrade index b242c00..4a969ad 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -172,6 +172,10 @@ case $upstream_version in ynh_setup_source $final_path source/${architecture}_1.9 restart_gitea ;& +"1.9."* ) + ynh_setup_source $final_path source/${architecture}_1.10 + restart_gitea +;& esac # Install gitea source