Release script back to using fetch/merge (#3746)
* Update with -X only for merge * Release back to using fetch/merge
This commit is contained in:
parent
cbd5fe7c07
commit
5d224df2d5
@ -35,13 +35,13 @@ git checkout -b $BRANCH
|
|||||||
|
|
||||||
echo "*** Committing compiled files for $UTCDATE"
|
echo "*** Committing compiled files for $UTCDATE"
|
||||||
mv build ../build.new
|
mv build ../build.new
|
||||||
git pull origin/$BRANCH --commit --no-edit -X ours
|
git merge origin/$BRANCH -X ours --commit -m "$UTCDATE [merge]"
|
||||||
git rm build/*
|
git rm build/*
|
||||||
git commit -m "$UTCDATE [rm old]"
|
git commit -m "$UTCDATE [cleanup]"
|
||||||
mv -f ../build.new/* build/
|
mv -f ../build.new/* build/
|
||||||
rm -rf ../build.new
|
rm -rf ../build.new
|
||||||
git add .
|
git add .
|
||||||
git commit -m "$UTCDATE"
|
git commit -m "$UTCDATE [update]"
|
||||||
|
|
||||||
echo "*** Merging remote"
|
echo "*** Merging remote"
|
||||||
git push origin HEAD:refs/heads/$BRANCH 2>$GITLOG
|
git push origin HEAD:refs/heads/$BRANCH 2>$GITLOG
|
||||||
|
@ -1 +1 @@
|
|||||||
// test script
|
// test script 2
|
||||||
|
Loading…
Reference in New Issue
Block a user