Skip to content

Commit

Permalink
add release artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
vaikas committed May 21, 2020
1 parent 1fc6cb3 commit ce330f8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ readonly CHANNEL_BROKER_YAML="deprecated-channel-broker.yaml"
readonly MT_CHANNEL_BROKER_YAML="mt-channel-broker.yaml"
readonly IN_MEMORY_CHANNEL="in-memory-channel.yaml"
readonly UPGRADE_JOB="upgrade-to-v0.14.0.yaml"
readonly UPGRADE_JOB_V_0_15="upgrade-to-v0.15.0.yaml"

declare -A RELEASES
RELEASES=(
Expand Down Expand Up @@ -59,10 +60,13 @@ function build_release() {
# Create in memory channel yaml
ko resolve ${KO_FLAGS} -f config/channels/in-memory-channel/ | "${LABEL_YAML_CMD[@]}" > "${IN_MEMORY_CHANNEL}"

# Create upgrade job yaml
# Create v0.14.0 upgrade job yaml
ko resolve ${KO_FLAGS} -f config/upgrade/v0.14.0/ | "${LABEL_YAML_CMD[@]}" > "${UPGRADE_JOB}"

local all_yamls=(${EVENTING_CORE_YAML} ${EVENTING_CRDS_YAML} ${CHANNEL_BROKER_YAML} ${MT_CHANNEL_BROKER_YAML} ${IN_MEMORY_CHANNEL} ${UPGRADE_JOB})
# Create v0.15.0 upgrade job yaml
ko resolve ${KO_FLAGS} -f config/upgrade/v0.15.0/ | "${LABEL_YAML_CMD[@]}" > "${UPGRADE_JOB_V_0_15}"

local all_yamls=(${EVENTING_CORE_YAML} ${EVENTING_CRDS_YAML} ${CHANNEL_BROKER_YAML} ${MT_CHANNEL_BROKER_YAML} ${IN_MEMORY_CHANNEL} ${UPGRADE_JOB} ${UPGRADE_JOB_V_0_15})
# Assemble the release
for yaml in "${!RELEASES[@]}"; do
echo "Assembling Knative Eventing - ${yaml}"
Expand Down

0 comments on commit ce330f8

Please sign in to comment.