From 5f413e8b98c1a8b486099dc37c55c574615e5a95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 11 Apr 2021 22:03:17 +0200 Subject: [PATCH] Upgrade gitea to 1.14.0 --- README.md | 2 +- conf/source/arm.src | 4 ++-- conf/source/arm64.src | 4 ++-- conf/source/arm64_1.13.src | 5 +++++ conf/source/arm_1.13.src | 5 +++++ conf/source/armv7.src | 4 ++-- conf/source/armv7_1.13.src | 8 ++++++++ conf/source/i386.src | 4 ++-- conf/source/i386_1.13.src | 5 +++++ conf/source/x86-64.src | 4 ++-- conf/source/x86-64_1.13.src | 5 +++++ manifest.json | 2 +- scripts/upgrade | 4 ++++ 13 files changed, 44 insertions(+), 12 deletions(-) create mode 100644 conf/source/arm64_1.13.src create mode 100644 conf/source/arm_1.13.src create mode 100644 conf/source/armv7_1.13.src create mode 100644 conf/source/i386_1.13.src create mode 100644 conf/source/x86-64_1.13.src diff --git a/README.md b/README.md index ecd1fc6..f47f2c7 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.13.7 +**Shipped version:** 1.14.0 Screenshots ----------- diff --git a/conf/source/arm.src b/conf/source/arm.src index 91fd474..7b5587d 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.13.7/gitea-1.13.7-linux-arm-6 -SOURCE_SUM=ed4a0c39e1d68592210d5be78ef90125760f24cf1448fb864081265c93823ef7 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.14.0/gitea-1.14.0-linux-arm-6 +SOURCE_SUM=f8ec1058d7278633541c0798b3e21bffbb97f60a3530bd9fee8e2ed3e54a3674 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64.src b/conf/source/arm64.src index 2fbd874..51f7a99 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.13.7/gitea-1.13.7-linux-arm64 -SOURCE_SUM=cae7529e75ccfb0e4f3270c197777f9dbdcf66a516d3b4e102d1e208ff9a0224 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.14.0/gitea-1.14.0-linux-arm64 +SOURCE_SUM=65b34ef4f4c91873ca4ef59b0a73fdd760f46db0679522e7d9142cb4500faf82 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64_1.13.src b/conf/source/arm64_1.13.src new file mode 100644 index 0000000..2fbd874 --- /dev/null +++ b/conf/source/arm64_1.13.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.13.7/gitea-1.13.7-linux-arm64 +SOURCE_SUM=cae7529e75ccfb0e4f3270c197777f9dbdcf66a516d3b4e102d1e208ff9a0224 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/arm_1.13.src b/conf/source/arm_1.13.src new file mode 100644 index 0000000..91fd474 --- /dev/null +++ b/conf/source/arm_1.13.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.13.7/gitea-1.13.7-linux-arm-6 +SOURCE_SUM=ed4a0c39e1d68592210d5be78ef90125760f24cf1448fb864081265c93823ef7 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/armv7.src b/conf/source/armv7.src index dea7e9f..14f88a5 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.13.7/gitea-1.13.7-linux-arm-6 -SOURCE_SUM=ed4a0c39e1d68592210d5be78ef90125760f24cf1448fb864081265c93823ef7 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.14.0/gitea-1.14.0-linux-arm-6 +SOURCE_SUM=f8ec1058d7278633541c0798b3e21bffbb97f60a3530bd9fee8e2ed3e54a3674 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/armv7_1.13.src b/conf/source/armv7_1.13.src new file mode 100644 index 0000000..dea7e9f --- /dev/null +++ b/conf/source/armv7_1.13.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.13.7/gitea-1.13.7-linux-arm-6 +SOURCE_SUM=ed4a0c39e1d68592210d5be78ef90125760f24cf1448fb864081265c93823ef7 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/i386.src b/conf/source/i386.src index a226815..2c430b6 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.13.7/gitea-1.13.7-linux-386 -SOURCE_SUM=927710a470af5f5ebab55bb3e4a0994f5832942c1c618e288226b57634232ec4 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.14.0/gitea-1.14.0-linux-386 +SOURCE_SUM=15b84b3ac963b75b5f4ec1e98d32fc444ca9db78fd1f73b7ea0b4d8526a08760 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/i386_1.13.src b/conf/source/i386_1.13.src new file mode 100644 index 0000000..a226815 --- /dev/null +++ b/conf/source/i386_1.13.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.13.7/gitea-1.13.7-linux-386 +SOURCE_SUM=927710a470af5f5ebab55bb3e4a0994f5832942c1c618e288226b57634232ec4 +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 eddcf5a..1d63b2a 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.13.7/gitea-1.13.7-linux-amd64 -SOURCE_SUM=f1c0d3368d49f544183ec799005e7149fa566e3fd6eca1091d67d75b3f89f716 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.14.0/gitea-1.14.0-linux-amd64 +SOURCE_SUM=f3c67ff8644b8ba7947d69a31fbae95f879f181a6038c0737740771075bada24 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/x86-64_1.13.src b/conf/source/x86-64_1.13.src new file mode 100644 index 0000000..eddcf5a --- /dev/null +++ b/conf/source/x86-64_1.13.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.13.7/gitea-1.13.7-linux-amd64 +SOURCE_SUM=f1c0d3368d49f544183ec799005e7149fa566e3fd6eca1091d67d75b3f89f716 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/manifest.json b/manifest.json index 24b6d43..9e8207f 100644 --- a/manifest.json +++ b/manifest.json @@ -8,7 +8,7 @@ }, "url": "http://gitea.io", "license": "MIT", - "version": "1.13.7~ynh1", + "version": "1.14.0~ynh1", "maintainer": { "name": "Josué Tille", "email": "josue@tille.ch" diff --git a/scripts/upgrade b/scripts/upgrade index 2fc7dd1..2b75536 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -191,6 +191,10 @@ case $upstream_version in ynh_setup_source $final_path source/${architecture}_1.12 restart_gitea ;& +"1.12."* ) + ynh_setup_source $final_path source/${architecture}_1.13 + restart_gitea +;& esac # Install gitea source