Merge pull request #553 from fluxcd/fix-goreleaser-aur-publish

Fix GoReleaser AUR package publishing
pull/554/head
Stefan Prodan 4 years ago committed by GitHub
commit 9880b32b0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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