mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-21 17:20:37 +02:00
Merge pull request 441
f4e01e5
Fix git username in build script (Jaqueeee)
This commit is contained in:
commit
be564921d8
@ -26,7 +26,7 @@ git -C $MONERO_DIR checkout -B $VERSIONTAG
|
|||||||
|
|
||||||
# Workaround for git username requirements
|
# Workaround for git username requirements
|
||||||
# Save current user settings and revert back when we are done with merging PR's
|
# Save current user settings and revert back when we are done with merging PR's
|
||||||
OLD_GIT_USER=$(git -C $MONERO_DIR config --local user.user)
|
OLD_GIT_USER=$(git -C $MONERO_DIR config --local user.name)
|
||||||
OLD_GIT_EMAIL=$(git -C $MONERO_DIR config --local user.email)
|
OLD_GIT_EMAIL=$(git -C $MONERO_DIR config --local user.email)
|
||||||
git -C $MONERO_DIR config user.name "Monero GUI"
|
git -C $MONERO_DIR config user.name "Monero GUI"
|
||||||
git -C $MONERO_DIR config user.email "gui@monero.local"
|
git -C $MONERO_DIR config user.email "gui@monero.local"
|
||||||
@ -40,7 +40,7 @@ for PR in $(git log --format=%B -n 1 | grep -io "requires #[0-9]*" | sed 's/[^0-
|
|||||||
done
|
done
|
||||||
|
|
||||||
# revert back to old git config
|
# revert back to old git config
|
||||||
$(git -C $MONERO_DIR config user.user "$OLD_GIT_USER")
|
$(git -C $MONERO_DIR config user.name "$OLD_GIT_USER")
|
||||||
$(git -C $MONERO_DIR config user.email "$OLD_GIT_EMAIL")
|
$(git -C $MONERO_DIR config user.email "$OLD_GIT_EMAIL")
|
||||||
|
|
||||||
# Build libwallet if it doesnt exist
|
# Build libwallet if it doesnt exist
|
||||||
|
Loading…
Reference in New Issue
Block a user