From f7ddd552df379236843751a47014851d5e11761f Mon Sep 17 00:00:00 2001 From: Oleg Taranenko MP Date: Thu, 11 May 2023 01:01:31 +0200 Subject: [PATCH 1/4] New and deleted files do not commiting to ccxt git repository --- build/push.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/push.sh b/build/push.sh index a51134deee68..5aaeef3699db 100755 --- a/build/push.sh +++ b/build/push.sh @@ -43,7 +43,8 @@ git add CHANGELOG.md dist/cjs/**/* dist/ccxt.bundle.cjs dist/ccxt.browser.js dis 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 commit add . +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 From 03be2cf019b19565d87e59e86e01f501c8ca3c33 Mon Sep 17 00:00:00 2001 From: Oleg Taranenko MP Date: Thu, 11 May 2023 13:35:33 +0200 Subject: [PATCH 2/4] take care about possible file renames --- build/push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/push.sh b/build/push.sh index 5aaeef3699db..cf684102dd31 100755 --- a/build/push.sh +++ b/build/push.sh @@ -43,7 +43,7 @@ git add CHANGELOG.md dist/cjs/**/* dist/ccxt.bundle.cjs dist/ccxt.browser.js dis 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 add . +git commit 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]"; From 722567273e040532f2ec892eaf8723fafb4048f0 Mon Sep 17 00:00:00 2001 From: Oleg Taranenko MP Date: Thu, 11 May 2023 13:43:06 +0200 Subject: [PATCH 3/4] typo in the command --- build/push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/push.sh b/build/push.sh index cf684102dd31..37b86cc7f30d 100755 --- a/build/push.sh +++ b/build/push.sh @@ -43,7 +43,7 @@ git add CHANGELOG.md dist/cjs/**/* dist/ccxt.bundle.cjs dist/ccxt.browser.js dis 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 add . -A +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]"; From e938ec611530d5736e0d889dabbc3f00abd90ab3 Mon Sep 17 00:00:00 2001 From: carlosmiei <43336371+carlosmiei@users.noreply.github.com> Date: Mon, 15 May 2023 11:32:56 +0100 Subject: [PATCH 4/4] comment out manual git add --- build/push.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/push.sh b/build/push.sh index 37b86cc7f30d..6e00610d9ccc 100755 --- a/build/push.sh +++ b/build/push.sh @@ -39,10 +39,10 @@ echo "Pushing generated files back to GitHub..." LAST_COMMIT_MESSAGE="$(git log --no-merges -1 --pretty=%B)" git config --global user.email "travis@travis-ci.org" 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 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