mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-28 17:57:34 +00:00
ci: merge-variants: revert previous change
This commit is contained in:
@@ -17,4 +17,4 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --add user.name "${GITHUB_ACTOR:-Github Actions}"
|
git config --add user.name "${GITHUB_ACTOR:-Github Actions}"
|
||||||
git config --add user.email "actions@github.com"
|
git config --add user.email "actions@github.com"
|
||||||
./docker-versions-create.sh -b -w
|
./docker-versions-create.sh -b
|
||||||
|
|||||||
@@ -18,9 +18,8 @@ function TrapExit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
batchMode=false
|
batchMode=false
|
||||||
skipWorkflowChanges=false
|
|
||||||
|
|
||||||
while getopts "hbt:sw" arg
|
while getopts "hbt:s" arg
|
||||||
do
|
do
|
||||||
case $arg in
|
case $arg in
|
||||||
b)
|
b)
|
||||||
@@ -32,9 +31,6 @@ do
|
|||||||
s)
|
s)
|
||||||
tagArgs="-s -m 'Signed during docker-versions-create"
|
tagArgs="-s -m 'Signed during docker-versions-create"
|
||||||
;;
|
;;
|
||||||
w)
|
|
||||||
skipWorkflowChanges=true
|
|
||||||
;;
|
|
||||||
h)
|
h)
|
||||||
echo "
|
echo "
|
||||||
Usage $0 [options]
|
Usage $0 [options]
|
||||||
@@ -45,7 +41,6 @@ Options:
|
|||||||
-t TAG tag and push the current revision on master with the given tag
|
-t TAG tag and push the current revision on master with the given tag
|
||||||
and apply respective tags to each branch
|
and apply respective tags to each branch
|
||||||
-s enable signed tags
|
-s enable signed tags
|
||||||
-w skip any changes to .github/workflows
|
|
||||||
-h display this help and exit
|
-h display this help and exit
|
||||||
"
|
"
|
||||||
exit
|
exit
|
||||||
@@ -91,7 +86,6 @@ for branch in "${branches_list[@]}"; do
|
|||||||
if git merge -m 'Auto-merging via docker-versions-create' master; then
|
if git merge -m 'Auto-merging via docker-versions-create' master; then
|
||||||
proceed="True"
|
proceed="True"
|
||||||
echo "Branch $branch updated to current master successfully"
|
echo "Branch $branch updated to current master successfully"
|
||||||
${skipWorkflowChanges} && git restore .github/workflows
|
|
||||||
# pushing changes to remote for this branch
|
# pushing changes to remote for this branch
|
||||||
git commit -m "Auto merge branch with master" -a
|
git commit -m "Auto merge branch with master" -a
|
||||||
# push may fail if remote doesn't have this branch yet. In this case - sending branch
|
# push may fail if remote doesn't have this branch yet. In this case - sending branch
|
||||||
|
|||||||
Reference in New Issue
Block a user