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.
scripts/README.md

32 lines
812 B
Markdown

# Scripts Collection
A small collection of scripts I use to control and automatically update my servers.
**Released under GNU General Public License v3.0**
6 years ago
## 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
[...]
```