File tree Expand file tree Collapse file tree 7 files changed +24
-404
lines changed
Expand file tree Collapse file tree 7 files changed +24
-404
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,15 @@ jobs:
4444 fi
4545
4646 echo "VERSION=$(calculate_tag ${{ env.docker_repo }} ${{ env.docker_server }} ${{ env.docker_org }} ${RELEASE} )" >> $GITHUB_ENV
47- >&2 echo "${VERSION } was assigned as a release tag"
47+ >&2 echo "${{ env.version } } was assigned as a release tag"
4848 - name : Update release files
4949 run : |
50- UPDATES=0
51- .github/workflows/scripts/update_files_with_version.sh \
50+ set -ex
51+ UPDATES=$( .github/workflows/scripts/update_files_with_version.sh \
5252 --project_dir=. \
5353 --version=${{ env.VERSION }} \
5454 --docker_org=${{ env.docker_org }} \
55- --docker_repo=${{ env.docker_repo}} || UPDATES=$?
55+ --docker_repo=${{ env.docker_repo}})
5656
5757 >&2 echo "${UPDATES} changes were made to update the release to ${{ env.VERSION }}"
5858
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ if [[ ${last_service_helm_ver} != ${VERSION} ]]; then
7272fi
7373
7474# app version
75- last_app_ver=" $( grep " version :" ${chart_yaml} | sed -r ' s/appVersion: (.*)/\1/' ) "
75+ last_app_ver=" $( grep " appVersion :" ${chart_yaml} | sed -r ' s/appVersion: (.*)/\1/' ) "
7676last_app_ver=` echo $last_app_ver | sed -e ' s/^[[:space:]]*//' `
7777if [[ ${last_app_ver} != ${VERSION} ]]; then
7878 >&2 echo " Updating ${chart_yaml} appVersion to version ${VERSION} "
@@ -104,5 +104,5 @@ if [[ ${last_gradle_tag} != ${VERSION} ]]; then
104104 updates=$(( updates+ 1 ))
105105fi
106106
107-
108- exit $(( updates ))
107+ echo $updates
108+ exit 0
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 0.1.1
18+ version : 0.1.2
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
2222# follow Semantic Versioning. They should reflect the version the application is using.
23- appVersion : 0.0.1
23+ appVersion : 0.1.2
2424
2525keywords :
2626 - ibm
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ replicaCount: 1
77image :
88 repository : alvearie/nlp-insights
99 pullPolicy : Always
10- tag : 0.1.1
10+ tag : 0.1.2
1111 pullSecret :
1212
1313service :
You can’t perform that action at this time.
0 commit comments