diff options
author | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-07-10 17:43:23 +1000 |
---|---|---|
committer | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-07-10 17:43:31 +1000 |
commit | 388a51406eab96b62cc746921ba2ea7c9f1437cf (patch) | |
tree | 4cc3d6236f8a30b05de6ced31d20617859245706 | |
parent | 4a0ea5b9755fc992ca4ef3f929486506e11256fe (diff) | |
download | gitlab-ce-57969-i18n-linters-eslint-vue.tar.gz |
Removed TARGET_REF arg57969-i18n-linters-eslint-vue
-rw-r--r-- | bin/i18n/create-branch.sh | 3 | ||||
-rw-r--r-- | bin/i18n/exec.sh | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/bin/i18n/create-branch.sh b/bin/i18n/create-branch.sh index f1cb76f5cc3..2761514b61e 100644 --- a/bin/i18n/create-branch.sh +++ b/bin/i18n/create-branch.sh @@ -1,7 +1,6 @@ BRANCH_NAME=$1 PROJECT_ID=$2 -TARGET_REF=$3 -ACCESS_TOKEN=$4 +ACCESS_TOKEN=$3 CMD_MASTER="git checkout master" CMD_BRANCH="git checkout -b $BRANCH_NAME" diff --git a/bin/i18n/exec.sh b/bin/i18n/exec.sh index 729c64aab2f..63ac426f1ac 100644 --- a/bin/i18n/exec.sh +++ b/bin/i18n/exec.sh @@ -1,8 +1,7 @@ GLOB="$1" # pattern to diff on PATCH_NAME="$2" # name for the patch PROJECT_ID="$3" -TARGET_REF="$4" -ACCESS_TOKEN="$5" +ACCESS_TOKEN="$4" echo "Creating patch $PATCH_NAME from dir $GLOB" @@ -12,7 +11,7 @@ eval $PATCH # Just chill sleep 5 -BRANCH="sh ./bin/i18n/create-branch.sh $PATCH_NAME $PROJECT_ID $TARGET_REF $ACCESS_TOKEN" +BRANCH="sh ./bin/i18n/create-branch.sh $PATCH_NAME $PROJECT_ID $ACCESS_TOKEN" eval $BRANCH # Just chill |