added auto-signed commits hopefully
This commit is contained in:
parent
4d66638bdd
commit
b9ab70213c
4
gclone
4
gclone
@ -30,6 +30,10 @@ else
|
|||||||
fi
|
fi
|
||||||
new_dir="$(awk -F\' '{print $2}' <<< "$out")"
|
new_dir="$(awk -F\' '{print $2}' <<< "$out")"
|
||||||
cd "$new_dir"
|
cd "$new_dir"
|
||||||
|
gpg_key='75D6600BEF4E8E8F'
|
||||||
|
git config user.signingkey "$gpg_key"!
|
||||||
|
git config commit.gpgsign true
|
||||||
|
|
||||||
git remote remove origin
|
git remote remove origin
|
||||||
git push --set-upstream "$url" main
|
git push --set-upstream "$url" main
|
||||||
fi
|
fi
|
||||||
|
4
gpull
4
gpull
@ -6,6 +6,10 @@ if [[ -z "$1" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
gpg_key='75D6600BEF4E8E8F'
|
||||||
|
git config user.signingkey "$gpg_key"!
|
||||||
|
git config commit.gpgsign true
|
||||||
|
|
||||||
project="$1"
|
project="$1"
|
||||||
shift
|
shift
|
||||||
unset token
|
unset token
|
||||||
|
4
gpush
4
gpush
@ -14,6 +14,10 @@ if [[ -z "$token" ]]; then
|
|||||||
printf 'Failed to get token.\n'
|
printf 'Failed to get token.\n'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
gpg_key='75D6600BEF4E8E8F'
|
||||||
|
git config user.signingkey "$gpg_key"!
|
||||||
|
git config commit.gpgsign true
|
||||||
|
|
||||||
url="https://luke:${token}@git.drheck.dev/luke/${project}.git"
|
url="https://luke:${token}@git.drheck.dev/luke/${project}.git"
|
||||||
if [[ "$project" == 'pass' ]]; then
|
if [[ "$project" == 'pass' ]]; then
|
||||||
if [[ -n "$@" ]]; then
|
if [[ -n "$@" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user