auto-format #20

Merged
leon merged 143 commits from auto-format into main 2024-02-14 01:18:02 +01:00
Showing only changes of commit 4cc9bf71dc - Show all commits

View File

@ -136,7 +136,7 @@ steps:
- echo "$GPG_PRIVKEY" > /tmp/private.key - echo "$GPG_PRIVKEY" > /tmp/private.key
- gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' --import /tmp/private.key >> /tmp/import.sh || exit 2 - gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' --import /tmp/private.key >> /tmp/import.sh || exit 2
- echo "#!/bin/sh" >> /tmp/gpg.sh - echo "#!/bin/sh" >> /tmp/gpg.sh
- echo "gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' $@" - echo "gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' $@" >> /tmp.gpg.sh
- echo "Hai" - echo "Hai"
- chmod 777 /tmp/gpg.sh - chmod 777 /tmp/gpg.sh
@ -144,7 +144,7 @@ steps:
- git config --local user.email "$GIT_EMAIL_ADDRESS" - git config --local user.email "$GIT_EMAIL_ADDRESS"
- git config --local user.signingkey "$GPG_PUBKEY_ID" - git config --local user.signingkey "$GPG_PUBKEY_ID"
#- git config --local gpg.program "gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE'" #- git config --local gpg.program "gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE'"
#- git config --local gpg.program "/tmp/gpg.sh" - git config --local gpg.program "/tmp/gpg.sh"
# Uncomment below line for ssh debugging # Uncomment below line for ssh debugging
# - git config core.sshCommand '/usr/bin/ssh -v' # - git config core.sshCommand '/usr/bin/ssh -v'
- git remote add ssh "$DRONE_GIT_SSH_URL" - git remote add ssh "$DRONE_GIT_SSH_URL"