Remove unused js packages (dapp cleanups) (#7046)

This commit is contained in:
Jaco Greeff
2017-11-13 16:51:57 +01:00
committed by GitHub
parent b5fc6419e6
commit 0f92856c3f
7 changed files with 65 additions and 167 deletions

View File

@@ -5,6 +5,7 @@ set -e
UTCDATE=`date -u "+%Y%m%d-%H%M%S"`
BRANCH=$CI_BUILD_REF_NAME
GIT_PARITY="https://${GITHUB_JS_PRECOMPILED}:@github.com/paritytech/parity.git"
GITLOG=./.git/.git-release.log
# setup the git user defaults for the current repo
function setup_git_user {
@@ -14,11 +15,6 @@ function setup_git_user {
git config user.name "GitLab Build Bot"
}
# change into the build directory
BASEDIR=`dirname $0`
GITLOG=.git-release.log
pushd $BASEDIR/..
echo "*** [cargo] Setting up GitHub config for parity"
setup_git_user
git remote set-url origin $GIT_PARITY
@@ -48,9 +44,5 @@ git add Cargo.lock
git commit -m "[ci skip] js-precompiled $UTCDATE"
git push origin HEAD:refs/heads/$BRANCH 2>$GITLOG
# back to root
echo "*** [cargo] Release completed"
popd
# exit with exit code
exit 0

View File

@@ -5,6 +5,8 @@ set -e
UTCDATE=`date -u "+%Y%m%d-%H%M%S"`
BRANCH=$CI_BUILD_REF_NAME
GIT_JS_PRECOMPILED="https://${GITHUB_JS_PRECOMPILED}:@github.com/paritytech/js-precompiled.git"
BASEDIR=`dirname $0`
GITLOG=./.git/.git-release.log
# setup the git user defaults for the current repo
function setup_git_user {
@@ -15,8 +17,6 @@ function setup_git_user {
}
# change into the build directory
BASEDIR=`dirname $0`
GITLOG=./.git/.git-release.log
pushd $BASEDIR
cd ../.dist

View File

@@ -1 +1 @@
// test script 18
// test script 19