Fix release script not uploads OpenShift deploy YAML file (#1456)

This commit is contained in:
Ta-Ching Chen
2019-12-02 21:12:15 +08:00
committed by GitHub
parent 275da18cf6
commit 3ee98cd13a
+11 -3
View File
@@ -204,7 +204,7 @@ attach_github_release_cli() {
--replace \
--user fission \
--repo fission \
--tag $gittag \
--tag $gittag \
--name fission-cli-windows.exe \
--file $BUILDDIR/cli/windows/fission-cli-windows.exe
}
@@ -218,7 +218,7 @@ attach_github_release_charts() {
--replace \
--user fission \
--repo fission \
--tag $gittag \
--tag $gittag \
--name fission-all-$version.tgz \
--file $BUILDDIR/charts/fission-all-$version.tgz
@@ -226,7 +226,7 @@ attach_github_release_charts() {
--replace \
--user fission \
--repo fission \
--tag $gittag \
--tag $gittag \
--name fission-core-$version.tgz \
--file $BUILDDIR/charts/fission-core-$version.tgz
@@ -254,6 +254,14 @@ attach_github_release_yamls() {
--tag $gittag \
--name ${c}-${version}.yaml \
--file $BUILDDIR/yamls/${c}-${version}.yaml
gothub upload \
--replace \
--user fission \
--repo fission \
--tag $gittag \
--name ${c}-${version}-openshift.yaml \
--file $BUILDDIR/yamls/${c}-${version}-openshift.yaml
done
}