From 39f8a1903b7def5154babe20166241e0262fed8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 22 Aug 2021 22:03:20 +0200 Subject: [PATCH] Upgrade gitea to 1.15.0 --- README.md | 2 +- conf/source/arm.src | 4 ++-- conf/source/arm64.src | 4 ++-- conf/source/arm64_1.14.src | 5 +++++ conf/source/arm_1.14.src | 5 +++++ conf/source/armv7.src | 4 ++-- conf/source/armv7_1.14.src | 8 ++++++++ conf/source/i386.src | 4 ++-- conf/source/i386_1.14.src | 5 +++++ conf/source/x86-64.src | 4 ++-- conf/source/x86-64_1.14.src | 5 +++++ manifest.json | 2 +- scripts/upgrade | 4 ++++ 13 files changed, 44 insertions(+), 12 deletions(-) create mode 100644 conf/source/arm64_1.14.src create mode 100644 conf/source/arm_1.14.src create mode 100644 conf/source/armv7_1.14.src create mode 100644 conf/source/i386_1.14.src create mode 100644 conf/source/x86-64_1.14.src diff --git a/README.md b/README.md index ee8fd4e..0577428 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.14.6 +**Shipped version:** 1.15.0 Screenshots ----------- diff --git a/conf/source/arm.src b/conf/source/arm.src index cb57028..633af36 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.14.6/gitea-1.14.6-linux-arm-6 -SOURCE_SUM=4c075c11ee6b89b6c436c94e47290cf7daeff2006bb7ca1fbe6f22db4482e16f +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.15.0/gitea-1.15.0-linux-arm-6 +SOURCE_SUM=61fccd0fa63015091ff35b59c6606987b16c63aae31369c7124258a264713c54 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64.src b/conf/source/arm64.src index 9bf2c89..e159135 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.14.6/gitea-1.14.6-linux-arm64 -SOURCE_SUM=d0e177368445748dcbfc3a082e2f1c68317d1490e11574224fb12ca01e91e15e +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.15.0/gitea-1.15.0-linux-arm64 +SOURCE_SUM=001b4264d30040c0590f682c8d31af161edce46950fc81b95964e78e1881f1ff SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64_1.14.src b/conf/source/arm64_1.14.src new file mode 100644 index 0000000..9bf2c89 --- /dev/null +++ b/conf/source/arm64_1.14.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.14.6/gitea-1.14.6-linux-arm64 +SOURCE_SUM=d0e177368445748dcbfc3a082e2f1c68317d1490e11574224fb12ca01e91e15e +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/arm_1.14.src b/conf/source/arm_1.14.src new file mode 100644 index 0000000..cb57028 --- /dev/null +++ b/conf/source/arm_1.14.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.14.6/gitea-1.14.6-linux-arm-6 +SOURCE_SUM=4c075c11ee6b89b6c436c94e47290cf7daeff2006bb7ca1fbe6f22db4482e16f +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/armv7.src b/conf/source/armv7.src index bd3cdc1..cc956dd 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.14.6/gitea-1.14.6-linux-arm-6 -SOURCE_SUM=4c075c11ee6b89b6c436c94e47290cf7daeff2006bb7ca1fbe6f22db4482e16f +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.15.0/gitea-1.15.0-linux-arm-6 +SOURCE_SUM=61fccd0fa63015091ff35b59c6606987b16c63aae31369c7124258a264713c54 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/armv7_1.14.src b/conf/source/armv7_1.14.src new file mode 100644 index 0000000..bd3cdc1 --- /dev/null +++ b/conf/source/armv7_1.14.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.14.6/gitea-1.14.6-linux-arm-6 +SOURCE_SUM=4c075c11ee6b89b6c436c94e47290cf7daeff2006bb7ca1fbe6f22db4482e16f +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/i386.src b/conf/source/i386.src index b9868bd..0a696c2 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.14.6/gitea-1.14.6-linux-386 -SOURCE_SUM=1a3382eb4faf60a5f5c590843f8e7cd1f7d0e78e99fe2511f86368340c0cfe2e +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.15.0/gitea-1.15.0-linux-386 +SOURCE_SUM=e5eb232e74a6a5e0ac31d098122ecdf801979cbd9723456605cfb0676692935d SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/i386_1.14.src b/conf/source/i386_1.14.src new file mode 100644 index 0000000..b9868bd --- /dev/null +++ b/conf/source/i386_1.14.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.14.6/gitea-1.14.6-linux-386 +SOURCE_SUM=1a3382eb4faf60a5f5c590843f8e7cd1f7d0e78e99fe2511f86368340c0cfe2e +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 be76bd3..fcba626 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.14.6/gitea-1.14.6-linux-amd64 -SOURCE_SUM=20cc0a89421695320b077c9fe4f16996f03aaf9d24f661f8d2255794551c849b +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.15.0/gitea-1.15.0-linux-amd64 +SOURCE_SUM=4789c7b9f0610102129ced87a4977386e493a67383eebad80cfce66b42a6f2cc SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/x86-64_1.14.src b/conf/source/x86-64_1.14.src new file mode 100644 index 0000000..be76bd3 --- /dev/null +++ b/conf/source/x86-64_1.14.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.14.6/gitea-1.14.6-linux-amd64 +SOURCE_SUM=20cc0a89421695320b077c9fe4f16996f03aaf9d24f661f8d2255794551c849b +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/manifest.json b/manifest.json index 1399f29..0e64d97 100644 --- a/manifest.json +++ b/manifest.json @@ -8,7 +8,7 @@ }, "url": "http://gitea.io", "license": "MIT", - "version": "1.14.6~ynh1", + "version": "1.15.0~ynh1", "maintainer": { "name": "Josué Tille", "email": "josue@tille.ch" diff --git a/scripts/upgrade b/scripts/upgrade index 2b75536..8900009 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -195,6 +195,10 @@ case $upstream_version in ynh_setup_source $final_path source/${architecture}_1.13 restart_gitea ;& +"1.13."* ) + ynh_setup_source $final_path source/${architecture}_1.14 + restart_gitea +;& esac # Install gitea source