forked from ag-grid/ag-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e36de79
commit 0358023
Showing
10 changed files
with
101 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ "$#" -lt 1 ] | ||
then | ||
echo "You must supply a release version number" | ||
echo "For example: ./scripts/createDocsReleaseBundle.sh 19.1.2" | ||
exit 1 | ||
fi | ||
|
||
ZIP_PREFIX=`date +%Y%m%d` | ||
|
||
RAW_VERSION=$1 | ||
VERSION=""${RAW_VERSION//./}"" | ||
|
||
cd packages/ag-grid-docs | ||
gulp release | ||
cd dist | ||
|
||
zip -r -X ../../../archive_"$ZIP_PREFIX"_v"$VERSION".zip * | ||
|
||
cd ../../../ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ "$#" -lt 1 ] | ||
then | ||
echo "You must supply a release version number" | ||
echo "For example: ./scripts/createDocsReleaseBundle.sh 19.1.2" | ||
exit 1 | ||
fi | ||
|
||
ZIP_PREFIX=`date +%Y%m%d` | ||
|
||
RAW_VERSION=$1 | ||
VERSION=""${RAW_VERSION//./}"" | ||
|
||
cd packages/ag-grid-docs | ||
gulp release | ||
gulp replace-to-cdn | ||
cd dist | ||
|
||
zip -r -X ../../../release_"$ZIP_PREFIX"_v"$VERSION".zip * | ||
|
||
cd ../../../ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ "$#" -ne 1 ] | ||
then | ||
echo "You must supply the source branch that you want to merge" | ||
echo "For example git-merge-branch-into-master.sh b19.1.2 will merge changes in b19.1.2 into master" | ||
exit 1 | ||
fi | ||
|
||
git checkout master | ||
./scripts/git-merge-one-way.sh $1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ "$#" -ne 1 ] | ||
then | ||
echo "You must supply the source branch that you want to merge" | ||
echo "For example git-merge-branch-into-master.sh b19.1.2 will merge changes in b19.1.2 into master" | ||
exit 1 | ||
fi | ||
|
||
examples=(ag-grid-angular-cli-example ag-grid-aurelia-example ag-grid-react-example ag-grid-vue-example) | ||
|
||
pwd | ||
for example in ${examples[@]}; do | ||
echo $example | ||
cd "packages/$example" | ||
|
||
git checkout master | ||
../../scripts/git-merge-one-way.sh $1 | ||
cd ../.. | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ "$#" -ne 1 ] | ||
then | ||
echo "You must supply the source branch that you want to merge" | ||
echo "For example if you're in master then git-merge-core-one-way.sh b19.1.2 will merge changes in b19.1.2 into master" | ||
exit 1 | ||
fi | ||
|
||
current_branch=$(git rev-parse --abbrev-ref HEAD) | ||
echo "Merging $current_branch into $1" | ||
git stash | ||
git pull | ||
git checkout $1 | ||
git pull | ||
git checkout $current_branch | ||
git merge $1 --no-commit --no-ff --strategy-option theirs | ||
git stash apply |