Skip to content

Commit

Permalink
chore(build): Collapse binary names so the release can bundle them
Browse files Browse the repository at this point in the history
  • Loading branch information
pgcrooks-sysdig committed Jan 29, 2025
1 parent d0b9ebe commit f09f42d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
BUILD_VERSION: ${{ github.ref_name }}
GORELEASER_CURRENT_TAG: "0.0.0"

- name: Archive Artifacts
- name: Archive Artifacts 🗄️
uses: actions/upload-artifact@v4
with:
name: handler-${{ github.ref_name }}
Expand All @@ -66,6 +66,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
fail_on_unmatched_files: true
name: handler-${{ github.ref_name }}
files: |
./runtimes/cloudformation/dist/*
name: ${{ github.ref_name }}
./runtimes/cloudformation/dist/handler/*
6 changes: 3 additions & 3 deletions runtimes/cloudformation/.goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: 2

project_name: launcher
project_name: handler

archives:
- id: launcher
- id: handler
formats: ["binary"]

builds:
Expand All @@ -29,7 +29,7 @@ builds:

- id: fips
no_unique_dist_dir: true
binary: handler-fips/handler-{{ .Os }}-{{ .Arch }}
binary: handler/handler-fips-{{ .Os }}-{{ .Arch }}
main: ./cmd/handler
goos:
- linux
Expand Down

0 comments on commit f09f42d

Please sign in to comment.