Skip to content

Commit

Permalink
get latest validator version
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-nhs committed Oct 28, 2024
1 parent ca985d2 commit e1a9e63
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/update_validator_version.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
#!/usr/bin/env bash
set -e

NEW_VALIDATOR_VERSION=v1.0.200-alpha


# $(curl -s "https://api.github.com/repos/NHSDigital/validation-service-fhir-r4/releases/latest" | jq -r .tag_name)

NEW_VALIDATOR_VERSION=$(curl -s "https://api.github.com/repos/NHSDigital/validation-service-fhir-r4/releases/latest" | jq -r .tag_name)

sed -i "s/^ARG VALIDATOR_VERSION_TAG=.*/ARG VALIDATOR_VERSION_TAG=${NEW_VALIDATOR_VERSION}/" .devcontainer/Dockerfile
sed -i "s/^ VALIDATOR_VERSION=.*/ VALIDATOR_VERSION=${NEW_VALIDATOR_VERSION}/" azure/azure-build-pipeline.yml
Expand Down

0 comments on commit e1a9e63

Please sign in to comment.