From cd6564d6c1eec572868901936b2c4c5b6d8f8edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 18 Jun 2020 20:03:28 +0000 Subject: [PATCH] Upgrade gitea to 1.12.0 --- README.md | 2 +- conf/source/arm.src | 4 ++-- conf/source/arm_1.11.src | 5 +++++ conf/source/armv7.src | 4 ++-- conf/source/armv7_1.11.src | 8 ++++++++ conf/source/i386.src | 4 ++-- conf/source/i386_1.11.src | 5 +++++ conf/source/x86-64.src | 4 ++-- conf/source/x86-64_1.11.src | 5 +++++ manifest.json | 2 +- scripts/upgrade | 4 ++++ 11 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 conf/source/arm_1.11.src create mode 100644 conf/source/armv7_1.11.src create mode 100644 conf/source/i386_1.11.src create mode 100644 conf/source/x86-64_1.11.src diff --git a/README.md b/README.md index 200ebd3..6b0ed92 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.11.6 +**Shipped version:** 1.12.0 Screenshots ----------- diff --git a/conf/source/arm.src b/conf/source/arm.src index a67c00a..0bd3ee1 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.11.6/gitea-1.11.6-linux-arm-6 -SOURCE_SUM=2599497b95efd6013fa08a00a027cc89c45680e2b348dfa830520cf99eee694a +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.12.0/gitea-1.12.0-linux-arm-6 +SOURCE_SUM=1cce3839d6beccb540cfdb45f644502bee1cd4a629c4b5bf611383a379ddda4b SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm_1.11.src b/conf/source/arm_1.11.src new file mode 100644 index 0000000..1a7b02d --- /dev/null +++ b/conf/source/arm_1.11.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.11.7/gitea-1.11.7-linux-arm-6 +SOURCE_SUM=f106d1a846da7abfd8a7dbf20a5d9c60502e1ed034a31f5503f460dea4d0c77d +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/armv7.src b/conf/source/armv7.src index 54950d2..7fbb38c 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.11.6/gitea-1.11.6-linux-arm-6 -SOURCE_SUM=2599497b95efd6013fa08a00a027cc89c45680e2b348dfa830520cf99eee694a +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.12.0/gitea-1.12.0-linux-arm-6 +SOURCE_SUM=1cce3839d6beccb540cfdb45f644502bee1cd4a629c4b5bf611383a379ddda4b SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/armv7_1.11.src b/conf/source/armv7_1.11.src new file mode 100644 index 0000000..52fa6b7 --- /dev/null +++ b/conf/source/armv7_1.11.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.11.7/gitea-1.11.7-linux-arm-6 +SOURCE_SUM=f106d1a846da7abfd8a7dbf20a5d9c60502e1ed034a31f5503f460dea4d0c77d +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/i386.src b/conf/source/i386.src index 9f28920..d55fe7f 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.11.6/gitea-1.11.6-linux-386 -SOURCE_SUM=93d6fc4796699b1673d838b1c2f52c19ab9523374d0b3cad17d7910c5e86e693 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.12.0/gitea-1.12.0-linux-386 +SOURCE_SUM=4c68f8f398747e43027483063a2b30db095119ffe139003cf8a8c50c84438170 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/i386_1.11.src b/conf/source/i386_1.11.src new file mode 100644 index 0000000..5c466c2 --- /dev/null +++ b/conf/source/i386_1.11.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.11.7/gitea-1.11.7-linux-386 +SOURCE_SUM=e176c650ab1dd9735014e5a2c29f15585b988ead9d800d02763e0f4adf283496 +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 7753c8a..ae7786e 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.11.6/gitea-1.11.6-linux-amd64 -SOURCE_SUM=0f12e4d471871deb43d8f6ee6fb5dd819c3f5a1a11fb145b17df5c8e8cd2fa3e +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.12.0/gitea-1.12.0-linux-amd64 +SOURCE_SUM=4077f35a87d4cb08e88fcc69fe8645ff9559928276886b7da33080dd24c36d1e SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/x86-64_1.11.src b/conf/source/x86-64_1.11.src new file mode 100644 index 0000000..6e5dee4 --- /dev/null +++ b/conf/source/x86-64_1.11.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.11.7/gitea-1.11.7-linux-amd64 +SOURCE_SUM=9261c23b0063132eba61f995561d3a1e76eabfadd7370f8dea2989180c36e2ff +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/manifest.json b/manifest.json index 7eed422..7d15a4b 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ }, "url": "http://gitea.io", "license": "MIT", - "version": "1.11.6~ynh1", + "version": "1.12.0~ynh1", "maintainer": { "name": "rafi59", "email": "rafi59_dev@srvmaison.fr.nf" diff --git a/scripts/upgrade b/scripts/upgrade index fb7e3f3..3a83dbc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -175,6 +175,10 @@ case $upstream_version in ynh_setup_source $final_path source/${architecture}_1.10 restart_gitea ;& +"1.10."* ) + ynh_setup_source $final_path source/${architecture}_1.11 + restart_gitea +;& esac # Install gitea source