-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
temp: changes for testing (dropme when done)
- Loading branch information
Showing
2 changed files
with
15 additions
and
10 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 |
---|---|---|
|
@@ -26,12 +26,13 @@ def downloadFromNexus(Map params) { | |
def checkGithub() { | ||
// this fails if the public repository master's tip is not in our master. | ||
// we may have more commits, though. | ||
sh ''' | ||
# commit hash of the public repositories master | ||
gh=$(git ls-remote [email protected]:tutao/tutanota.git refs/heads/master | awk '{print $1}') | ||
# exit with 0 if $gh is an ancestor of the current HEAD, 1 otherwise. | ||
git merge-base --is-ancestor $gh HEAD | ||
''' | ||
// #FIXME should uncomment lines below once fully tested | ||
// sh ''' | ||
// # commit hash of the public repositories master | ||
// gh=$(git ls-remote [email protected]:tutao/tutanota.git refs/heads/master | awk '{print $1}') | ||
// # exit with 0 if $gh is an ancestor of the current HEAD, 1 otherwise. | ||
// git merge-base --is-ancestor $gh HEAD | ||
// ''' | ||
} | ||
|
||
|
||
|