Add the update version command to the adf-cli (#4956)

This commit is contained in:
Maurizio Vitale
2019-07-23 11:46:24 +01:00
committed by GitHub
parent 994cd791a3
commit fddd519116
2 changed files with 195 additions and 0 deletions

View File

@@ -54,3 +54,37 @@ adf-cli kubectl-image --clusterEnv ${clusterEnv} --clusterUrl ${clusterUrl} --us
```
You can use the option --installCheck to install kubectl as part of the command
### update version
This command allows you to update the adf dependencies and js-api with different versions
Update adf libs and js-api with latest alpha
```bash
adf-cli update-version --alpha --pathPackage "$(pwd)"
```
Update adf libs and js-api with latest beta
```bash
adf-cli update-version --beta --pathPackage "$(pwd)"
```
Update adf libs and js-api with latest
```bash
adf-cli update-version --latest --pathPackage "$(pwd)"
```
Update only adf libs with a specific version
```bash
adf-cli update-version --version "3.2.0-fa5916ff413131513c3e382d7f27dd9b4cfa0e7e" --pathPackage "$(pwd)"
```
Update only js-api with a specific version
```bash
adf-cli update-version --vjs "3.2.0-fa5916ff413131513c3e382d7f27dd9b4cfa0e7e" --pathPackage "$(pwd)"
```