Skip to content

Commit

Permalink
update. person management app release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjun-Go committed Feb 4, 2024
1 parent fb5fe60 commit cfd3a2b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ COPY ui/dist/. /usr/local/apache2/htdocs/bahmni/

# Download Person Management App
RUN <<EOR
LATEST_RELEASE=$(curl -L -s -H 'Accept: application/json' https://github.com/Bahmni/person-management-app/releases/latest)
RELEASE_URL="https://github.com/Bahmni/person-management-app/releases/tag/v-11"
RELEASE=$(curl -L -s -H 'Accept: application/json' $RELEASE_URL)
LATEST_VERSION=$(echo $LATEST_RELEASE | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/')
ARTIFACT_URL="https://github.com/Bahmni/person-management-app/releases/download/$LATEST_VERSION/person-management-app.zip"
ARTIFACT_URL="https://github.com/Bahmni/person-management-app/releases/download/$VERSION/person-management-app.zip"
wget $ARTIFACT_URL
unzip person-management-app.zip -d /usr/local/apache2/htdocs/
rm person-management-app.zip
Expand Down

0 comments on commit cfd3a2b

Please sign in to comment.