Skip to content

Commit

Permalink
Fix .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mininny committed Sep 18, 2024
1 parent 5b1e817 commit 79006c0
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 52 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ jobs:
DOCKER_URL: ${{ env.DOCKERHUB_REPOSITORY }}
run: |
docker run --rm \
-w /go/src/${{ env.APPLICATION }}/ \
-w /${{ env.APPLICATION }}/ \
-e BUILD_VERSION=${{ env.BUILD_VERSION }} \
-e GIT_COMMIT=${{ steps.getCommitId.outputs.id }} \
-e GIT_BRANCH=${{ inputs.checkout_ref }} \
-e GIT_TAG=${{ inputs.release_version }} \
-e PACKAGE=${{ env.PACKAGE }} \
-e APPLICATION=${{ env.APPLICATION }} \
-v $(pwd):/go/src/${{ env.APPLICATION}} \
-v $(pwd):/${{ env.APPLICATION }} \
-v /var/run/docker.sock:/var/run/docker.sock \
${{ env.BUILDER_IMAGE }} release --clean --skip=validate,announce,publish
echo "DEBUG: ls -lao in the working directory"
Expand Down
97 changes: 47 additions & 50 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,6 @@ checksum:
- darwin-arm64
# - windows-amd64

<<<<<<< HEAD
dockers:
- image_templates:
- testinprod/{{ .ProjectName }}:{{ .Version }}-amd64
Expand Down Expand Up @@ -1061,7 +1060,6 @@ docker_manifests:
image_templates:
- testinprod/{{ .ProjectName }}:{{ .Version }}-amd64
- testinprod/{{ .ProjectName }}:{{ .Version }}-arm64
=======

archives:
- id: linux-arm64
Expand Down Expand Up @@ -1096,51 +1094,50 @@ archives:
wrap_in_directory: true
format: tar.gz

- id: darwin-amd64
builds:
- darwin-amd64-erigon
- darwin-amd64-downloader
- darwin-amd64-devnet
- darwin-amd64-evm
- darwin-amd64-caplin
- darwin-amd64-diag
- darwin-amd64-integration
- darwin-amd64-rpcdaemon
- darwin-amd64-sentry
- darwin-amd64-txpool
name_template: "{{ .Env.APPLICATION }}_{{ .Env.BUILD_VERSION }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true
format: tar.gz
>>>>>>> 2.60.7

- id: darwin-arm64
builds:
- darwin-arm64-erigon
- darwin-arm64-downloader
- darwin-arm64-devnet
- darwin-arm64-evm
- darwin-arm64-caplin
- darwin-arm64-diag
- darwin-arm64-integration
- darwin-arm64-rpcdaemon
- darwin-arm64-sentry
- darwin-arm64-txpool
name_template: "{{ .Env.APPLICATION }}_{{ .Env.BUILD_VERSION }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true
format: tar.gz

- id: windows-amd64
builds:
- windows-amd64-erigon
- windows-amd64-downloader
- windows-amd64-devnet
- windows-amd64-evm
- windows-amd64-caplin
- windows-amd64-diag
- windows-amd64-integration
- windows-amd64-rpcdaemon
- windows-amd64-sentry
- windows-amd64-txpool
name_template: "{{ .Env.APPLICATION }}_{{ .Env.BUILD_VERSION }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true
format: zip
# - id: darwin-amd64
# builds:
# - darwin-amd64-erigon
# - darwin-amd64-downloader
# - darwin-amd64-devnet
# - darwin-amd64-evm
# - darwin-amd64-caplin
# - darwin-amd64-diag
# - darwin-amd64-integration
# - darwin-amd64-rpcdaemon
# - darwin-amd64-sentry
# - darwin-amd64-txpool
# name_template: "{{ .Env.APPLICATION }}_{{ .Env.BUILD_VERSION }}_{{ .Os }}_{{ .Arch }}"
# wrap_in_directory: true
# format: tar.gz

# - id: darwin-arm64
# builds:
# - darwin-arm64-erigon
# - darwin-arm64-downloader
# - darwin-arm64-devnet
# - darwin-arm64-evm
# - darwin-arm64-caplin
# - darwin-arm64-diag
# - darwin-arm64-integration
# - darwin-arm64-rpcdaemon
# - darwin-arm64-sentry
# - darwin-arm64-txpool
# name_template: "{{ .Env.APPLICATION }}_{{ .Env.BUILD_VERSION }}_{{ .Os }}_{{ .Arch }}"
# wrap_in_directory: true
# format: tar.gz

# - id: windows-amd64
# builds:
# - windows-amd64-erigon
# - windows-amd64-downloader
# - windows-amd64-devnet
# - windows-amd64-evm
# - windows-amd64-caplin
# - windows-amd64-diag
# - windows-amd64-integration
# - windows-amd64-rpcdaemon
# - windows-amd64-sentry
# - windows-amd64-txpool
# name_template: "{{ .Env.APPLICATION }}_{{ .Env.BUILD_VERSION }}_{{ .Os }}_{{ .Arch }}"
# wrap_in_directory: true
# format: zip

0 comments on commit 79006c0

Please sign in to comment.