Skip to content

Commit

Permalink
Fix generate-olm-bundle.sh to only package one version (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
clamoriniere committed Aug 28, 2020
1 parent 9cded9e commit 77c5464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/generate-olm-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ trap cleanup EXIT
# move all zip file if exit
mv $ZIP_FILE_NAME $ZIP_FILE_NAME.old

for i in $OLM_FOLDER/*/*.yaml $OLM_FOLDER/*.yaml
for i in $OLM_FOLDER/$VERSION/*.yaml $OLM_FOLDER/*.yaml
do
cp $i $WORK_DIR/${i##*/}
$SED -e "s|${IMAGE_NAME}|${REDHAT_IMAGE_NAME}|g" $WORK_DIR/${i##*/}
Expand Down

0 comments on commit 77c5464

Please sign in to comment.