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 4c314d240a - Show all commits

View File

@ -136,8 +136,7 @@ steps:
- echo "$GPG_PRIVKEY" > /tmp/private.key
- gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' --import /tmp/private.key >> /tmp/import.sh || exit 2
- echo "#!/bin/sh" >> /tmp/gpg.sh
- 'echo echo Args: \$@ >> /tmp/gpg.sh'
- '>&2 echo echo Args: \$@ >> /tmp/gpg.sh'
- 'echo "echo Args: \$@ >> /tmp/log" >> /tmp/gpg.sh'
#- echo 'gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' $@' >> /tmp/gpg.sh
- chmod 777 /tmp/gpg.sh
@ -150,7 +149,8 @@ steps:
# - git config core.sshCommand '/usr/bin/ssh -v'
- git remote add ssh "$DRONE_GIT_SSH_URL"
- GIT_COMMITTER_NAME="WANessa" GIT_COMMITTER_EMAIL="$GIT_EMAIL_ADDRESS" git commit --author "$DRONE_COMMIT_AUTHOR_NAME <$DRONE_COMMIT_AUTHOR_EMAIL>" -S -a -m "rustfmt" || exit 3
- GIT_COMMITTER_NAME="WANessa" GIT_COMMITTER_EMAIL="$GIT_EMAIL_ADDRESS" git commit --author "$DRONE_COMMIT_AUTHOR_NAME <$DRONE_COMMIT_AUTHOR_EMAIL>" -S -a -m "rustfmt" #|| exit 3
- cat /tmp/log
- git push ssh
environment: