File tree 7 files changed +24
-404
lines changed
7 files changed +24
-404
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,15 @@ jobs:
44
44
fi
45
45
46
46
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"
48
48
- name : Update release files
49
49
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 \
52
52
--project_dir=. \
53
53
--version=${{ env.VERSION }} \
54
54
--docker_org=${{ env.docker_org }} \
55
- --docker_repo=${{ env.docker_repo}} || UPDATES=$?
55
+ --docker_repo=${{ env.docker_repo}})
56
56
57
57
>&2 echo "${UPDATES} changes were made to update the release to ${{ env.VERSION }}"
58
58
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ if [[ ${last_service_helm_ver} != ${VERSION} ]]; then
72
72
fi
73
73
74
74
# 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/' ) "
76
76
last_app_ver=` echo $last_app_ver | sed -e ' s/^[[:space:]]*//' `
77
77
if [[ ${last_app_ver} != ${VERSION} ]]; then
78
78
>&2 echo " Updating ${chart_yaml} appVersion to version ${VERSION} "
@@ -104,5 +104,5 @@ if [[ ${last_gradle_tag} != ${VERSION} ]]; then
104
104
updates=$(( updates+ 1 ))
105
105
fi
106
106
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
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 0.1.1
18
+ version : 0.1.2
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
22
22
# follow Semantic Versioning. They should reflect the version the application is using.
23
- appVersion : 0.0.1
23
+ appVersion : 0.1.2
24
24
25
25
keywords :
26
26
- ibm
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ replicaCount: 1
7
7
image :
8
8
repository : alvearie/nlp-insights
9
9
pullPolicy : Always
10
- tag : 0.1.1
10
+ tag : 0.1.2
11
11
pullSecret :
12
12
13
13
service :
You can’t perform that action at this time.
0 commit comments