Skip to content

Commit

Permalink
Merge pull request ccxt#17870 from olegtaranenko/travis-git-missed-de…
Browse files Browse the repository at this point in the history
…leted-added-files

New and deleted generated files do not committing to ccxt git repository [ci skip]
  • Loading branch information
kroitor authored May 15, 2023
2 parents 4873406 + e938ec6 commit 31f0d14
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions build/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ echo "Pushing generated files back to GitHub..."
LAST_COMMIT_MESSAGE="$(git log --no-merges -1 --pretty=%B)"
git config --global user.email "[email protected]"
git config --global user.name "Travis CI"
git add CHANGELOG.md dist/cjs/**/* dist/ccxt.bundle.cjs dist/ccxt.browser.js dist/ccxt.browser.min.js ts/ccxt.ts ts/src/abstract/*.ts js/**/** php/*.php php/abstract/*.php php/async/*.php php/async/abstract/*.php php/pro/*.php python/ccxt/async_support/*.py python/ccxt/*.py python/ccxt/abstract/*.py python/ccxt/pro/*.py wiki/* examples/py examples/php examples/js
git add php/test/ php/pro/test/
git add python/ccxt/test/ python/ccxt/pro/test/
git add -f python/LICENSE.txt python/package.json python/README.md
git commit -a -m "${COMMIT_MESSAGE}" -m '[ci skip]' || exit 0
# git add CHANGELOG.md dist/cjs/**/* dist/ccxt.bundle.cjs dist/ccxt.browser.js dist/ccxt.browser.min.js ts/ccxt.ts ts/src/abstract/*.ts js/**/** php/*.php php/abstract/*.php php/async/*.php php/async/abstract/*.php php/pro/*.php python/ccxt/async_support/*.py python/ccxt/*.py python/ccxt/abstract/*.py python/ccxt/pro/*.py wiki/* examples/py examples/php examples/js
# git add php/test/ php/pro/test/
# git add python/ccxt/test/ python/ccxt/pro/test/
# git add -f python/LICENSE.txt python/package.json python/README.md
git add . -A
git commit -m "${COMMIT_MESSAGE}" -m '[ci skip]' || exit 0
if [ "$SHOULD_TAG" = "true" ]; then
git tag -a "${COMMIT_MESSAGE}" -m "${LAST_COMMIT_MESSAGE}" -m "" -m "[ci skip]";
fi
Expand Down

0 comments on commit 31f0d14

Please sign in to comment.