Skip to content
Snippets Groups Projects
Unverified Commit cdd055bf authored by Aurel Canciu's avatar Aurel Canciu
Browse files

Use mock archive for aur publishers

parent fedf960a
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,15 @@ builds: ...@@ -23,6 +23,15 @@ builds:
id: windows id: windows
goos: goos:
- windows - windows
- id: aurmock
binary: aurmock
main: ./cmd/flux
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
archives: archives:
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" - name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
id: nix id: nix
...@@ -36,6 +45,9 @@ archives: ...@@ -36,6 +45,9 @@ archives:
format: zip format: zip
files: files:
- none* - none*
- name_template: "aur_{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
id: aur
builds: [aurmock]
brews: brews:
- name: flux - name: flux
tap: tap:
...@@ -52,21 +64,30 @@ brews: ...@@ -52,21 +64,30 @@ brews:
system "#{bin}/flux --version" system "#{bin}/flux --version"
publishers: publishers:
- name: aur-pkg-bin - name: aur-pkg-bin
ids:
- aur
env: env:
- AUR_BOT_SSH_PRIVATE_KEY={{ .Env.AUR_BOT_SSH_PRIVATE_KEY }} - AUR_BOT_SSH_PRIVATE_KEY={{ .Env.AUR_BOT_SSH_PRIVATE_KEY }}
cmd: | cmd: |
.github/aur/flux-bin/publish.sh {{ .Version }} .github/aur/flux-bin/publish.sh {{ .Version }}
- name: aur-pkg-scm - name: aur-pkg-scm
ids:
- aur
env: env:
- AUR_BOT_SSH_PRIVATE_KEY={{ .Env.AUR_BOT_SSH_PRIVATE_KEY }} - AUR_BOT_SSH_PRIVATE_KEY={{ .Env.AUR_BOT_SSH_PRIVATE_KEY }}
cmd: | cmd: |
.github/aur/flux-scm/publish.sh {{ .Version }} .github/aur/flux-scm/publish.sh {{ .Version }}
- name: aur-pkg-go - name: aur-pkg-go
ids:
- aur
env: env:
- AUR_BOT_SSH_PRIVATE_KEY={{ .Env.AUR_BOT_SSH_PRIVATE_KEY }} - AUR_BOT_SSH_PRIVATE_KEY={{ .Env.AUR_BOT_SSH_PRIVATE_KEY }}
cmd: | cmd: |
.github/aur/flux-go/publish.sh {{ .Version }} .github/aur/flux-go/publish.sh {{ .Version }}
release: release:
ids:
- nix
- windows
extra_files: extra_files:
- glob: ./output/manifests.tar.gz - glob: ./output/manifests.tar.gz
- glob: ./output/install.yaml - glob: ./output/install.yaml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment