chore: fix releases

The GitHub release plugin doesn't allow directories, and has no way to
tell it to ignore a path. The workaround is to be explicit about what
files we want in a release.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
Andrew Rynhard 2019-12-30 17:16:37 -08:00
parent ebd40bd0eb
commit 7f2483e848
2 changed files with 28 additions and 2 deletions

View File

@ -3772,7 +3772,19 @@ steps:
- sha512
draft: true
files:
- _out/*
- _out/aws.tar.gz
- _out/azure.tar.gz
- _out/container.tar
- _out/digital-ocean.tar.gz
- _out/gcp.tar.gz
- _out/initramfs.xz
- _out/installer.tar
- _out/osctl-darwin-amd64
- _out/osctl-linux-amd64
- _out/talos.iso
- _out/vmware.ova
- _out/vmlinux
- _out/vmlinuz
when:
event:
- tag

View File

@ -400,7 +400,21 @@ local release = {
settings: {
api_key: { from_secret: 'github_token' },
draft: true,
files: ['_out/*'],
files: [
'_out/aws.tar.gz',
'_out/azure.tar.gz',
'_out/container.tar',
'_out/digital-ocean.tar.gz',
'_out/gcp.tar.gz',
'_out/initramfs.xz',
'_out/installer.tar',
'_out/osctl-darwin-amd64',
'_out/osctl-linux-amd64',
'_out/talos.iso',
'_out/vmware.ova',
'_out/vmlinux',
'_out/vmlinuz',
],
checksum: ['sha256', 'sha512'],
},
when: {