mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-05 01:49:16 +00:00
ci: added option to sign git tags
This commit is contained in:
parent
477caa12c3
commit
ec0329efb1
2 changed files with 6 additions and 2 deletions
|
@ -52,7 +52,7 @@ Several base-image variants are maintained in order to offer choices in JDK prov
|
|||
The [docker-versions-create.sh](docker-versions-create.sh) script is configured with the branches to maintain and is used to merge changes from the master branch into the mulit-base variant branches. The script also manages git tagging the master branch along with the merged branches. So a typical use of the script would be like:
|
||||
|
||||
```shell script
|
||||
./docker-versions-create.sh -t 1.2.0
|
||||
./docker-versions-create.sh -s -t 1.2.0
|
||||
```
|
||||
|
||||
> Most often the major version will be bumped unless a bug or hotfix needs to be published in which case the patch version should be incremented.
|
||||
|
|
|
@ -10,7 +10,7 @@ function TrapExit {
|
|||
|
||||
batchMode=false
|
||||
|
||||
while getopts "hbt:" arg
|
||||
while getopts "hbt:s" arg
|
||||
do
|
||||
case $arg in
|
||||
b)
|
||||
|
@ -19,6 +19,9 @@ do
|
|||
t)
|
||||
tag=${OPTARG}
|
||||
;;
|
||||
s)
|
||||
tagArgs="-s -m 'Signed during docker-versions-create"
|
||||
;;
|
||||
h)
|
||||
echo "
|
||||
Usage $0 [options]
|
||||
|
@ -28,6 +31,7 @@ Options:
|
|||
when any merge fails
|
||||
-t TAG tag and push the current revision on master with the given tag
|
||||
and apply respective tags to each branch
|
||||
-s enable signed tags
|
||||
-h display this help and exit
|
||||
"
|
||||
exit
|
||||
|
|
Loading…
Reference in a new issue