Skip to content

Commit

Permalink
chore: fix resources commit
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Jan 28, 2020
1 parent f2649fa commit bfebcbb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfebcbb

Please sign in to comment.