Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
Remove release artifacts from release.sh (#235)
Browse files Browse the repository at this point in the history
"Releases" as defined by release.sh are combinations of components.
Eventing Sources releases don't have any of those.

Since components and releases share a namespace, releases cannot have
the same name as any components.
  • Loading branch information
grantr committed Mar 7, 2019
1 parent 2efe55e commit ec6daf8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,16 @@ source $(dirname $0)/../vendor/github.com/knative/test-infra/scripts/release.sh
# Yaml files to generate, and the source config dir for them.
declare -A COMPONENTS
COMPONENTS=(
["sources.yaml"]="config"
["release.yaml"]="config"
["gcppubsub.yaml"]="contrib/gcppubsub/config"
["message-dumper.yaml"]="config/tools/message-dumper"
)
readonly COMPONENTS

# Yaml files that are combinations of the above components. Release files must
# not have the same name as any component files.
declare -A RELEASES
RELEASES=(
["release.yaml"]="sources.yaml"
["gcppubsub.yaml"]="gcppubsub.yaml"
["message-dumper.yaml"]="message-dumper.yaml"
)
readonly RELEASES

Expand Down

0 comments on commit ec6daf8

Please sign in to comment.