Skip to content

Commit

Permalink
Remove ghr and save release artifacts (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyc-splunk authored May 4, 2021
1 parent 3970962 commit 934f4bd
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,8 @@ jobs:
- run:
name: Calculate checksums
command: cd dist && shasum -a 256 * > checksums.txt
- run:
name: Create Github draft release and upload artifacts
command: ghr --draft -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace $CIRCLE_TAG dist/
- store_artifacts:
path: dist

publish-dev:
docker:
Expand All @@ -399,6 +398,18 @@ jobs:
- publish_docker_images:
repo: splunk-otel-collector-dev
tag: ${CIRCLE_SHA1}
- run:
name: Prepare release artifacts
command: |
cp bin/* dist/
# exclude the otelcol symlink from the release
[ -e dist/otelcol ] && rm -f dist/otelcol
[ -e dist/image.tar ] && rm -f dist/image.tar
- run:
name: Calculate checksums
command: cd dist && shasum -a 256 * > checksums.txt
- store_artifacts:
path: dist

windows-test:
executor:
Expand Down

0 comments on commit 934f4bd

Please sign in to comment.