Skip to content

Commit

Permalink
add --single-target flag and split checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
momentmaker committed Aug 12, 2024
1 parent 6a2a19e commit 83c4b76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/goreleaser-build-sign-publish/action_utils
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ goreleaser_release() {
fi
if [[ $ENABLE_GORELEASER_SPLIT == "true" ]]; then
goreleaser_flags+=("--split")
goreleaser_flags+=("--single-target")
fi
flags=$(printf "%s " "${goreleaser_flags[@]}")
flags=$(echo "$flags" | sed 's/ *$//')
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-publish-develop-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
shell: bash
run: |
ls -al dist
ls -al dist/linux_${{ matrix.goarch }}
# need to check if artifacts.json exists because goreleaser splits the build
if [[ -f dist/artifacts.json ]]; then
echo "### Docker Images" | tee -a "$GITHUB_STEP_SUMMARY"
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ docker_signs:

checksum:
name_template: "checksums.txt"
split: true

snapshot:
name_template: "{{ .Env.CHAINLINK_VERSION }}-{{ .ShortCommit }}"
Expand Down

0 comments on commit 83c4b76

Please sign in to comment.