mirror of
https://git.envs.net/envs/ifconfig
synced 2024-11-26 06:33:46 +01:00
(*)fixed commit prebuilt branch
This commit is contained in:
parent
fdbb012dda
commit
626fc93ccb
@ -77,8 +77,8 @@ prebuilt_prepare()
|
|||||||
git config user.name "${GIT_NAME}"
|
git config user.name "${GIT_NAME}"
|
||||||
git config user.email "${GIT_EMAIL}"
|
git config user.email "${GIT_EMAIL}"
|
||||||
# clean working dir
|
# clean working dir
|
||||||
rm -f .git/index
|
#rm -f .git/index
|
||||||
git clean -df
|
#git clean -df
|
||||||
}
|
}
|
||||||
|
|
||||||
prebuilt_commit() {
|
prebuilt_commit() {
|
||||||
@ -104,8 +104,8 @@ prebuilt_push() {
|
|||||||
# check for GitHub access token
|
# check for GitHub access token
|
||||||
[ "${GH_TOKEN+set}" = set ] || \
|
[ "${GH_TOKEN+set}" = set ] || \
|
||||||
skip "GitHub access token not available, not updating prebuilt branch."
|
skip "GitHub access token not available, not updating prebuilt branch."
|
||||||
#[ "${#GH_TOKEN}" -eq 40 ] || \
|
[ "${#GH_TOKEN}" -eq 40 ] || \
|
||||||
# abort "GitHub token invalid: found ${#GH_TOKEN} characters, expected 40."
|
abort "GitHub token invalid: found ${#GH_TOKEN} characters, expected 40."
|
||||||
|
|
||||||
cd "${TRAVIS_BUILD_DIR}/prebuilt";
|
cd "${TRAVIS_BUILD_DIR}/prebuilt";
|
||||||
# setup credentials (hide in "set -x" mode)
|
# setup credentials (hide in "set -x" mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user