Skip to content

Commit

Permalink
fix getting the manifest from the wrong directory
Browse files Browse the repository at this point in the history
  • Loading branch information
nluaces committed Jun 8, 2023
1 parent 670b292 commit 27349ba
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,15 +348,9 @@ workflows:
- test
- build_and_push_test_images

- generate_manifest:
<<: *run_for_numeric_tags
<<: *release_requires

- publish-github-release-artifacts:
<<: *run_for_numeric_tags
<<: *release_requires
requires:
- generate_manifest

- publish-github-release-images:
<<: *run_for_numeric_tags
Expand Down Expand Up @@ -481,24 +475,13 @@ jobs:
goos: linux
goarch: arm64
platform: linux-arm64

- persist_to_workspace:
root: .
paths:
- dist

generate_manifest:
executor:
name: go/default
tag: "1.19"
steps:
- checkout
- run: make generate-manifest
- run: mkdir skupper-manifest
- run: cp ./manifest.json skupper-manifest
- persist_to_workspace:
root: .
paths:
- dist
- skupper-manifest

main_tests_minikube_local_cluster:
Expand Down Expand Up @@ -548,8 +531,8 @@ jobs:
tar -zcf "${BASEDIR}/archives/skupper-cli-${VERSION}-$p.tgz" *
fi
done
cp skupper-manifest/manifest.json "${BASEDIR}/archives"
cd ${BASEDIR}
cp "${BASEDIR}/skupper-manifest/manifest.json" "${BASEDIR}/archives"
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace -prerelease -draft ${VERSION} "${BASEDIR}/archives"
publish-github-release-images:
Expand Down

0 comments on commit 27349ba

Please sign in to comment.