From 85751ac02342d4ab6bb3b2d4e9b142a3dfdce5d5 Mon Sep 17 00:00:00 2001 From: Kentaro IMAJO <173752+imos@users.noreply.github.com> Date: Mon, 20 Jul 2020 05:56:55 +0900 Subject: [PATCH] Make release submit directly (#65) --- script/create-submission.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/script/create-submission.sh b/script/create-submission.sh index 61e2366..acc427c 100644 --- a/script/create-submission.sh +++ b/script/create-submission.sh @@ -19,14 +19,10 @@ DATETIME="$(TZ=Asia/Tokyo date +%Y%m%d-%H%M%S)" COMMIT_ID="$(git rev-parse --short HEAD)" COMMIT_MSG="$(git log -n 1)" -pushd build/submission -git checkout -b "candidates/${DATETIME}-${COMMIT_ID}" -popd - bash script/build-submission.sh pushd build/submission git add -A -git commit -am "${DATETIME}-${COMMIT_ID}"$'\n'"${COMMIT_MSG}" -git push --set-upstream origin "candidates/${DATETIME}-${COMMIT_ID}" +git commit -am "${DATETIME}-${COMMIT_ID} #release"$'\n'"${COMMIT_MSG}" +git push --set-upstream origin "submission" popd