mirror of
https://github.com/CMiksche/gitea-auto-update
synced 2025-12-10 07:57:23 +01:00
Update the README.md and change the name in the files from "Gitea Remote Updater" to "Gitea Auto Updater" because the script should be run on the local system.
24 lines
716 B
Python
24 lines
716 B
Python
'''
|
|
Gitea Auto Updater
|
|
|
|
Copyright 2018, 2019 The Gitea-Auto-Update Authors
|
|
All rights reserved.
|
|
|
|
License: GNU General Public License
|
|
'''
|
|
# Gitea Site
|
|
# Optional - the script will get the version from the gitea file if you change the url to a empty string
|
|
gtsite = 'https://your-gitea-instance.com/api/v1/version'
|
|
# Gitea GitHub API URL for latest Relase
|
|
gtgithubapiurl = 'https://api.github.com/repos/go-gitea/gitea/releases/latest'
|
|
# Gitea System
|
|
gtsystem = 'linux-amd64'
|
|
# Name and Path of gitea file
|
|
gtfile = '/usr/local/bin/gitea'
|
|
# tmp Name and Path of gitea file
|
|
tmpdir = '/tmp/'
|
|
# Build new version from source?
|
|
build_from_source = None
|
|
# Source directroy
|
|
source_dir = '/home/git/go/src/code.gitea.io/gitea'
|