Jeremy Gardais
70bf10ab59
Exit with error if new_version is empty
2022-02-01 10:30:06 +01:00
Jeremy Gardais
3fa03cadd2
Find and remove old files only from current dir
...
Avoid to find files in subdirectory
2022-02-01 10:27:44 +01:00
Jeremy Gardais
3580fa5f13
Improve gitea update checking
...
Manage options
Manage help message
Manage Gitea's path with option
Manage vars in specific function
Use main() !
Only use DEBUG with debug_message
Add --download option to get new Gitea release
Manage Gitea binary empty file
Error if can't get Gitea's current version
Ensure to clean previous unused release
Download from dl.gitea.io (default); add --github
2022-01-31 18:39:30 +01:00
Jeremy Gardais
12ba56fd0d
Ignore empty lines
...
Potential removed tags,…
2022-01-20 07:53:49 +01:00
Jeremy Gardais
79ff7e0a5f
Gitea: Ensure to remove unused previous release
2021-09-29 15:26:19 +02:00
Jeremy Gardais
59f7e1907e
Gitea: use long options
2021-07-19 11:38:33 +02:00
Jeremy Gardais
6cf7fe5977
gitea: auto download new version
2021-07-19 11:36:43 +02:00
Jeremy Gardais
b4220d218a
Replace "." to "_" in cronjob path
...
Cron jobs with a dot in the path won't work.
2021-02-24 13:57:11 +01:00
Jeremy Gardais
91f963774d
Avoid dev and release candidate version
2019-10-15 14:25:30 +02:00
Jeremy Gardais
c74b9b024b
Add current version in temp file
2019-08-22 09:26:59 +02:00
Jeremy Gardais
d0311a61b8
Script to check if Gitea installation is uptodate
2019-08-15 00:23:20 +02:00