From a92ac09235a0b2d6fa817b45e4237c36f50afed5 Mon Sep 17 00:00:00 2001 From: jamesread Date: Wed, 24 Aug 2022 19:46:40 +0100 Subject: [PATCH] cicd: Include branch name in snapshots --- .github/workflows/build-snapshot.yml | 2 +- .goreleaser.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-snapshot.yml b/.github/workflows/build-snapshot.yml index 3727f8f..c012816 100644 --- a/.github/workflows/build-snapshot.yml +++ b/.github/workflows/build-snapshot.yml @@ -34,7 +34,7 @@ jobs: - name: Archive binaries uses: actions/upload-artifact@v3.1.0 with: - name: dist + name: "OliveTin-snapshot-${{ github.ref_name }}-${{ github.short_ref }}-dist" path: dist/OliveTin*.* - name: Archive integration tests diff --git a/.goreleaser.yml b/.goreleaser.yml index 1e6755b..5356a78 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -39,7 +39,7 @@ builds: checksum: name_template: 'checksums.txt' snapshot: - name_template: "{{ .Commit }}" + name_template: "{{ .Branch }}-{{ .Commit }}" changelog: sort: asc filters: