fix: update Gitea

- Upgrade Gitea to v1.18.0
- Update the configuration to allow signing merge commits
- Fixed download-gitea.sh
This commit is contained in:
Dan Anglin 2023-01-16 19:48:20 +00:00
parent 163ae108e6
commit ba9025d4d5
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
3 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ set -o errexit
set -o nounset set -o nounset
set -o pipefail set -o pipefail
export $(cat ./config/flow-platform.cfg | grep GITEA_VERSION | tr -d "\"") export $(cat ./config/flow-platform-services.cfg | grep GITEA_VERSION | tr -d "\"")
if ! [ -f ./build/gitea/gitea-${GITEA_VERSION}-linux-amd64 ]; then if ! [ -f ./build/gitea/gitea-${GITEA_VERSION}-linux-amd64 ]; then
echo "Downloading Gitea ${GITEA_VERSION}..." echo "Downloading Gitea ${GITEA_VERSION}..."

2
config

@ -1 +1 @@
Subproject commit dd9694baf20bcf5f0898962bd074c1563021eabf Subproject commit 846a2e49bf90787f51731dd3c2bf7863eb7582d9

View file

@ -13,8 +13,8 @@ LOCAL_COPY_PATH = ${GITEA_TMP}/local-repo
TEMP_PATH = ${GITEA_TMP}/uploads TEMP_PATH = ${GITEA_TMP}/uploads
[repository.signing] [repository.signing]
; Gitea will sign initial commits only if the user has a public key. INITIAL_COMMIT = pubkey, twofa
INITIAL_COMMIT = pubkey MERGES = pubkey, twofa, basesigned, commitssigned
[ui] [ui]
DEFAULT_THEME = arc-green DEFAULT_THEME = arc-green