浏览代码

Allow origin version to be passed in as an argument

so we can continue syncing v1.1 content
Scott Dodson 9 年之前
父节点
当前提交
388f75b83c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/openshift_examples/examples-sync.sh

+ 1 - 1
roles/openshift_examples/examples-sync.sh

@@ -6,7 +6,7 @@
 # This script should be run from openshift-ansible/roles/openshift_examples
 
 XPAAS_VERSION=ose-v1.2.0-1
-ORIGIN_VERSION=v1.2
+ORIGIN_VERSION=${1:-v1.2}
 EXAMPLES_BASE=$(pwd)/files/examples/${ORIGIN_VERSION}
 find ${EXAMPLES_BASE} -name '*.json' -delete
 find ${EXAMPLES_BASE} -name '*.yaml' -delete