Do not hardcode Dapr version in sample

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
ItalyPaleAle 2022-06-21 18:20:27 +00:00
parent 9e83de01e0
commit f7cc3dd2e7
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ First, download the code of the stored procedures for the version of Dapr that y
```sh
# Set this to the version of Dapr that you're using
DAPR_VERSION="v1.7.0"
DAPR_VERSION="release-{{% dapr-latest-version short="true" %}}"
curl -LfO "https://raw.githubusercontent.com/dapr/components-contrib/${DAPR_VERSION}/state/azure/cosmosdb/storedprocedures/__daprver__.js"
curl -LfO "https://raw.githubusercontent.com/dapr/components-contrib/${DAPR_VERSION}/state/azure/cosmosdb/storedprocedures/__dapr_v2__.js"
```