You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Stupp d33c6ee31b | 6 years ago | |
---|---|---|
log | 6 years ago | |
.gitignore | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
update.sh | 6 years ago | |
updateList.sh | 6 years ago |
README.md
Scripts Collection
A small collection of scripts I use to control and automatically update my servers.
Released under GNU General Public License v3.0
update.sh
Usage: update.sh [dir]
Updates the current (or given) git repository to the newest tag with given prefix (defined inline, by default "^release"). Therefore, checks if the given tag is signed correctly by a gpg key with ultimate trust, otherwise the script will abort the update and exit with error code 1.
updateList.sh
Usage: updateList.sh [repository-path|repository-list]…
Updates all given git repositories (by using update.sh). If given a file instead of a directory, the script will try to update each directory defined in the file.
Format of repository-list files:
/dir/**/repo
**/repo
[...]