Skip to content

Commit

Permalink
Fix binary package creation
Browse files Browse the repository at this point in the history
create_binary_package.sh was broken due to builders/ccaas.
The `make "release/${TARGET}"` step creates the builders/ccaas directory, just like it creates the bin directory.
Therefore there is no need to later create this directory or cp the content since it already exists in the correct location.

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
  • Loading branch information
denyeart committed Aug 8, 2022
1 parent c9c60fd commit 8359607
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ci/scripts/create_binary_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ set -euo pipefail

make "release/${TARGET}"
mkdir -p "release/${TARGET}/config"
mkdir -p "release/${TARGET}/builders/ccaas"

# cp not move otherwise this breaks your source tree
cp sampleconfig/*yaml "release/${TARGET}/config"
cp ccaas_builder/bin/${TARGET}/* "release/${TARGET}/builders/ccaas"

cd "release/${TARGET}"
if [ "$TARGET" == "windows-amd64" ]; then
Expand Down

0 comments on commit 8359607

Please sign in to comment.