mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-09-15 12:18:57 +00:00
revert untouched files
This commit is contained in:
@@ -2,20 +2,12 @@
|
||||
# Copyright 2022 The Kubernetes Authors.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
ORIGIN_MASTER="feat/5449-add-release-automation"
|
||||
UPSTREAM_REPO="upstream"
|
||||
UPSTREAM_MASTER="master"
|
||||
|
||||
function createBranch {
|
||||
branch=$1
|
||||
title=$2
|
||||
echo "Making branch $branch : \"$title\""
|
||||
# Check if release branch exists
|
||||
if git show-ref --quiet "refs/heads/${branch}"; then
|
||||
git fetch --tags upstream master
|
||||
git checkout $ORIGIN_MASTER
|
||||
git branch -D $branch # delete if it exists
|
||||
fi
|
||||
git branch -D $branch # delete if it exists
|
||||
git checkout -b $branch
|
||||
git commit -a -m "$title"
|
||||
git push -f origin $branch
|
||||
|
||||
Reference in New Issue
Block a user