From 8e5b12ca560eb87b16851fd64cb426364bf4384b Mon Sep 17 00:00:00 2001 From: Mercurio <32540679+SignorMercurio@users.noreply.github.com> Date: Mon, 12 Dec 2022 17:16:09 +0800 Subject: [PATCH] ci: adjust files to be checksumed (#2250) Signed-off-by: Mercurio Signed-off-by: Mercurio --- .github/workflows/release.yml | 2 +- .goreleaser.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f0e0a4ff84..06aeeaff20a 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ on: jobs: goreleaser: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.goreleaser.yml b/.goreleaser.yml index ec7ac700b40..db893f9a6d5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -246,9 +246,14 @@ publishers: cmd: | curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/{{ .Env.USERNAME }}/ +archives: + - id: archive + checksum: name_template: "{{ .ProjectName }}_checksums.txt" algorithm: sha256 + ids: + - archive snapshot: name_template: "{{ .Tag }}-next"