Skip to content

Commit 673139c

Browse files
committed
avoid publishing other bits
1 parent 5833107 commit 673139c

File tree

4 files changed

+3
-13
lines changed

4 files changed

+3
-13
lines changed

.ci/publish-aws.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -euo pipefail
55
# Publishes the created artifacts from GoReleaser to AWS as AWS Lambda Layers in every region.
66
# Finalized by generating an ARN table which will be used in the release notes.
77
#
8+
exit 0
89

910
export AWS_FOLDER=${AWS_FOLDER:-.aws}
1011
export SUFFIX_ARN_FILE=${SUFFIX_ARN_FILE:-arn-file.md}

.ci/release-github.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -euo pipefail
55
# Collects all created ARN tables created by .ci/publish-aws.sh script
66
# and publishes a GitHub Release Note with the given information.
77
#
8+
exit 0
89

910
export SUFFIX_ARN_FILE=${SUFFIX_ARN_FILE:-arn-file.md}
1011
VERSION=${VERSION:?Please provide VERSION environment variable. e.g. current git tag}

.goreleaser.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,6 @@ docker_manifests:
8282
- "{{ .Env.DOCKER_REGISTRY }}/{{ .Env.DOCKER_IMAGE_NAME }}-x86_64:latest"
8383
- "{{ .Env.DOCKER_REGISTRY }}/{{ .Env.DOCKER_IMAGE_NAME }}-arm64:latest"
8484

85-
publishers:
86-
- name: publish-aws
87-
cmd: ./.ci/publish-aws.sh
88-
env:
89-
- AWS_ACCESS_KEY_ID={{ .Env.AWS_ACCESS_KEY_ID }}
90-
- AWS_SECRET_ACCESS_KEY={{ .Env.AWS_SECRET_ACCESS_KEY }}
91-
- ELASTIC_LAYER_NAME=elastic-apm-extension-ver-{{ replace (trimprefix .Tag "v") "." "-" }}
92-
- VERSION={{ .Tag }}
93-
- ARCHITECTURE={{ if eq .Arch "amd64" }}x86_64{{ else }}{{ .Arch }}{{ end }}
94-
- GOOS={{ .Os }}
95-
- GOARCH={{ .Arch }}
96-
- AWS_FOLDER=.aws-{{ .Os }}-{{ .Arch }}
9785
release:
9886
# Custom GitHub release
9987
disable: true

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ build:
2323

2424
.PHONY: release
2525
release:
26-
go run github.com/goreleaser/goreleaser@$(GORELEASER_VERSION) release --clean --skip-publish --skip-validate --skip-before
26+
go run github.com/goreleaser/goreleaser@$(GORELEASER_VERSION) release --clean --skip-validate --skip-before
2727

2828
.PHONY: release-notes
2929
release-notes:

0 commit comments

Comments
 (0)