This file contains hidden or 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
variantFilter { variant -> | |
def names = variant.flavors*.name | |
if (names.contains("devBeta") && variant.buildType.name == "release") { | |
variant.ignore = true | |
} | |
} |
This file contains hidden or 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
return facebookService.validateFacebookUser(credentialsDto) | |
.map(this::findOrCreateChordUser) | |
.map(user -> jwtTokenService.generateToken(user)) | |
.map(TokenDto::new) | |
.map(ResponseEntity::ok) | |
.orElseThrow(() -> new AuthorizationServiceException("Can't authenticate")); |
This file contains hidden or 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
git filter-branch --env-filter ' | |
OLD_EMAIL="<old email>" | |
CORRECT_NAME="<correct name>" | |
CORRECT_EMAIL="<correct email>" | |
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
then | |
export GIT_COMMITTER_NAME="$CORRECT_NAME" | |
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL" | |
fi | |
if [ "$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ] |
NewerOlder