-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7134 from Expensify/andrew-sign-test
- Loading branch information
Showing
2 changed files
with
12 additions
and
3 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
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#!/bin/bash | ||
|
||
# Fail immediately if there is an error thrown | ||
set -e | ||
|
||
TEST_DIR=$(dirname "$(dirname "$(cd "$(dirname "$0")" || exit 1;pwd)/$(basename "$0")")") | ||
DUMMY_DIR="$HOME/DumDumRepo" | ||
getPullRequestsMergedBetween="$TEST_DIR/utils/getPullRequestsMergedBetween.js" | ||
|
@@ -53,6 +56,8 @@ fi | |
|
||
info "Initializing Git repo..." | ||
git init -b main | ||
git config user.email "[email protected]" | ||
git config user.name "test" | ||
git add package.json package-lock.json | ||
git commit -m "Initial commit" | ||
|
||
|
@@ -226,8 +231,8 @@ success "Bumped version to 1.1.1 on main!" | |
info "Cherry picking PR #7 and the version bump to staging..." | ||
git checkout staging | ||
git checkout -b cherry-pick-staging-7 | ||
git cherry-pick -S -x --mainline 1 --strategy=recursive -Xtheirs "$PR_7_MERGE_COMMIT" | ||
git cherry-pick -S -x --mainline 1 "$VERSION_BUMP_MERGE_COMMIT" | ||
git cherry-pick -x --mainline 1 --strategy=recursive -Xtheirs "$PR_7_MERGE_COMMIT" | ||
git cherry-pick -x --mainline 1 "$VERSION_BUMP_MERGE_COMMIT" | ||
git checkout staging | ||
git merge cherry-pick-staging-7 --no-ff -m "Merge pull request #9 from Expensify/cherry-pick-staging-7" | ||
git branch -d cherry-pick-staging-7 | ||
|