Skip to content

Commit

Permalink
Make release submit directly (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
imos authored Jul 19, 2020
1 parent ba0674f commit 85751ac
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions script/create-submission.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 85751ac

Please sign in to comment.