From 02bbe2fc6a74d02afdec6e8b424c6b962f432b7b Mon Sep 17 00:00:00 2001 From: informalict Date: Thu, 31 Oct 2019 09:07:23 +0100 Subject: [PATCH 1/2] Fix changing version in README during release --- scripts/patch_readme.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/patch_readme.sh b/scripts/patch_readme.sh index 43a6fc935..76aa6c7c7 100755 --- a/scripts/patch_readme.sh +++ b/scripts/patch_readme.sh @@ -18,7 +18,7 @@ function replaceInFile { sed -e "${EXPR}" -i "" ${FILE} ;; *) - sed -i --expression "${EXPR}" ${FILE} + sed -E -i --expression "${EXPR}" ${FILE} ;; esac } @@ -30,5 +30,5 @@ replaceInFile "s@^kubectl apply -f https://raw.githubusercontent.com/arangodb/ku replaceInFile "s@^kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/.*/manifests/arango-deployment-replication.yaml\$@kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/${VERSION}/manifests/arango-deployment-replication.yaml@g" ${f} replaceInFile "s@^kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/.*/manifests/arango-storage.yaml\$@kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/${VERSION}/manifests/arango-storage.yaml@g" ${f} -replaceInFile "s@https://github.com/arangodb/kube-arangodb/releases/download/.*/kube-arangodb-crd\(-[0-9]+\.[0-9]+\.[0-9]+\)\?.tgz@https://github.com/arangodb/kube-arangodb/releases/download/${VERSION}/kube-arangodb-crd-${VERSION}.tgz@g" ${f} -replaceInFile "s@https://github.com/arangodb/kube-arangodb/releases/download/.*/kube-arangodb\(-[0-9]+\.[0-9]+\.[0-9]+\)\?.tgz@https://github.com/arangodb/kube-arangodb/releases/download/${VERSION}/kube-arangodb-${VERSION}.tgz@g" ${f} +replaceInFile "s@https://github\.com/arangodb/kube-arangodb/releases/download/.*/kube-arangodb-crd-[[:digit:]].*\.tgz@https://github.com/arangodb/kube-arangodb/releases/download/${VERSION}/kube-arangodb-crd-${VERSION}.tgz@g" ${f} +replaceInFile "s@https://github\.com/arangodb/kube-arangodb/releases/download/.*/kube-arangodb-[[:digit:]].*\.tgz@https://github.com/arangodb/kube-arangodb/releases/download/${VERSION}/kube-arangodb-${VERSION}.tgz@g" ${f} From 343db576d4e020df8ae6c0c697d70526651c4f82 Mon Sep 17 00:00:00 2001 From: informalict Date: Thu, 31 Oct 2019 10:28:32 +0100 Subject: [PATCH 2/2] Fix README to actual version --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8d48a8556..1d9df5649 100644 --- a/README.md +++ b/README.md @@ -100,12 +100,12 @@ upgrades. ```bash # The following will install the custom resources required by the operators. -helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.16/kube-arangodb-crd-0.3.16.tgz +helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.1/kube-arangodb-crd-0.4.1.tgz # The following will install the operator for `ArangoDeployment` & # `ArangoDeploymentReplication` resources. -helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.16/kube-arangodb-0.3.16.tgz +helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.1/kube-arangodb-0.4.1.tgz # To use `ArangoLocalStorage`, set field `operator.features.storage` to true -helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.16/kube-arangodb-0.3.16.tgz --set "operator.features.storage=true" +helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.1/kube-arangodb-0.4.1.tgz --set "operator.features.storage=true" ``` ## Upgrading the operator using Helm @@ -140,9 +140,9 @@ with `helm install` as normal: ```bash # The following will install the operator for `ArangoDeployment` & # `ArangoDeploymentReplication` resources. -helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.16/kube-arangodb-0.3.16.tgz +helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.1/kube-arangodb-0.4.1.tgz # To use `ArangoLocalStorage`, set field `operator.features.storage` to true -helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.16/kube-arangodb-0.3.16.tgz --set "operator.features.storage=true" +helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.1/kube-arangodb-0.4.1.tgz --set "operator.features.storage=true" ``` ## Building