Skip to content

Commit f09f42d

Browse files
chore(build): Collapse binary names so the release can bundle them
1 parent d0b9ebe commit f09f42d

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
BUILD_VERSION: ${{ github.ref_name }}
5555
GORELEASER_CURRENT_TAG: "0.0.0"
5656

57-
- name: Archive Artifacts
57+
- name: Archive Artifacts 🗄️
5858
uses: actions/upload-artifact@v4
5959
with:
6060
name: handler-${{ github.ref_name }}
@@ -66,6 +66,8 @@ jobs:
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6868
with:
69+
fail_on_unmatched_files: true
70+
name: handler-${{ github.ref_name }}
6971
files: |
7072
./runtimes/cloudformation/dist/*
71-
name: ${{ github.ref_name }}
73+
./runtimes/cloudformation/dist/handler/*

runtimes/cloudformation/.goreleaser.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
version: 2
22

3-
project_name: launcher
3+
project_name: handler
44

55
archives:
6-
- id: launcher
6+
- id: handler
77
formats: ["binary"]
88

99
builds:
@@ -29,7 +29,7 @@ builds:
2929

3030
- id: fips
3131
no_unique_dist_dir: true
32-
binary: handler-fips/handler-{{ .Os }}-{{ .Arch }}
32+
binary: handler/handler-fips-{{ .Os }}-{{ .Arch }}
3333
main: ./cmd/handler
3434
goos:
3535
- linux

0 commit comments

Comments
 (0)