Commit d111cdeaac

d111cdeaac3330935269605c00e46f1b18e35a30

parent: 641324260b

Verified · cmc ci/pages: success ci/test: success

cmc <hello@cleberg.net> · 2026-11-01 05:44 UTC

Run release ssh calls through a bot_ssh function

Ref #8

Layout: unified · split

.gitbay/bot-ssh.sh +1
@@ -13,4 +13,5 @@
1313 "$PWD/.bot_key" "$PWD/.known_hosts" >"$PWD/.ssh_config"
1414)
1515SSH="ssh -F $PWD/.ssh_config"
16bot_ssh() { ssh -F "$PWD/.ssh_config" "$@"; }
1617export GIT_SSH_COMMAND="$SSH"
.gitbay/release.sh +2 −2
@@ -50,10 +50,10 @@ done
5050# Notes come from the annotated tag, so the person cutting the release writes
5151# them at the moment they decide to cut it (`git tag -a "$tag" -F notes.md`).
5252git tag -l --format='%(contents)' "$tag" |
53 $SSH "$GITBAY_SSH" release create "$repo" "$tag" --title "${tag#v}" --file -
53 bot_ssh "$GITBAY_SSH" release create "$repo" "$tag" --title "${tag#v}" --file -
5454
5555for f in "$dist"/*; do
56 $SSH "$GITBAY_SSH" release asset add "$repo" "$tag" "$(basename "$f")" <"$f"
56 bot_ssh "$GITBAY_SSH" release asset add "$repo" "$tag" "$(basename "$f")" <"$f"
5757 echo "attached $(basename "$f")"
5858done
5959