From bfebcbbed86da9482d56962950d0128f3af00808 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Wed, 29 Jan 2020 06:09:22 +0900 Subject: [PATCH] chore: fix resources commit --- release.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/release.sh b/release.sh index 870028e36..6144dc5b1 100755 --- a/release.sh +++ b/release.sh @@ -39,10 +39,9 @@ npm run build RESOURCES_DIR="resources" cp -r "./exampleSite/${RESOURCES_DIR}" . if git add "${RESOURCES_DIR}"; then - print_info "skip add and commit for ${RESOURCES_DIR}" -else - git add "./${RESOURCES_DIR}" git commit -m "chore(release): update ${RESOURCES_DIR}" +else + print_info "skip add and commit for ${RESOURCES_DIR}" fi npm run release -- --release-as "${RELEASE_TYPE}" --preset eslint