Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Cleanups on js-precompiled (#3738)
Browse files Browse the repository at this point in the history
* Cleanups on js-precompiled

* Combined

* Adjust based on Pr comments
  • Loading branch information
jacogr authored and arkpar committed Dec 7, 2016
1 parent 9e8d90b commit 5f10218
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion js/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,16 @@ git fetch origin 2>$GITLOG
git checkout -b $BRANCH

echo "*** Committing compiled files for $UTCDATE"
mv build ../build.new
git pull origin/$BRANCH -X ours --commit -m "$UTCDATE [merge]"
git rm build/*
git commit -m "$UTCDATE [rm]"
mv -f ../build.new/* build/
rm -rf ../build.new
git add .
git commit -m "$UTCDATE"

echo "*** Merging remote"
git merge origin/$BRANCH -X ours --commit -m "$UTCDATE [release]"
git push origin HEAD:refs/heads/$BRANCH 2>$GITLOG
PRECOMPILED_HASH=`git rev-parse HEAD`

Expand Down

0 comments on commit 5f10218

Please sign in to comment.