Fix GoReleaser AUR package publishing

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
pull/553/head
Aurel Canciu 4 years ago
parent 7cfef379d0
commit e664ef7a8d
No known key found for this signature in database
GPG Key ID: AB25339971E6F81E

@ -13,6 +13,9 @@ cd $WD
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
eval $(ssh-agent -s)
ssh-add <(echo "$AUR_BOT_SSH_PRIVATE_KEY")
rm -rf .pkg
git clone aur@aur.archlinux.org:$PKGNAME .pkg 2>&1

@ -13,6 +13,9 @@ cd $WD
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
eval $(ssh-agent -s)
ssh-add <(echo "$AUR_BOT_SSH_PRIVATE_KEY")
rm -rf .pkg
git clone aur@aur.archlinux.org:$PKGNAME .pkg 2>&1

@ -13,6 +13,9 @@ cd $WD
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
eval $(ssh-agent -s)
ssh-add <(echo "$AUR_BOT_SSH_PRIVATE_KEY")
rm -rf .pkg
git clone aur@aur.archlinux.org:$PKGNAME .pkg 2>&1

@ -54,19 +54,19 @@ publishers:
- name: aur-pkg-bin
ids:
- nix
env:
- AUR_BOT_SSH_PRIVATE_KEY={{ .Env.AUR_BOT_SSH_PRIVATE_KEY }}
cmd: |
eval $(ssh-agent -s)
ssh-add <(echo "{{ .Env.AUR_BOT_SSH_PRIVATE_KEY }}")
.github/aur/flux-bin/publish.sh {{ .Version }}
- name: aur-pkg-scm
env:
- AUR_BOT_SSH_PRIVATE_KEY={{ .Env.AUR_BOT_SSH_PRIVATE_KEY }}
cmd: |
eval $(ssh-agent -s)
ssh-add <(echo "{{ .Env.AUR_BOT_SSH_PRIVATE_KEY }}")
.github/aur/flux-scm/publish.sh {{ .Version }}
- name: aur-pkg-go
env:
- AUR_BOT_SSH_PRIVATE_KEY={{ .Env.AUR_BOT_SSH_PRIVATE_KEY }}
cmd: |
eval $(ssh-agent -s)
ssh-add <(echo "{{ .Env.AUR_BOT_SSH_PRIVATE_KEY }}")
.github/aur/flux-go/publish.sh {{ .Version }}
release:
extra_files:

Loading…
Cancel
Save