File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
backend/charts/traceability-foss-backend
frontend/charts/traceability-foss-frontend Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 11name : Release Helm Charts
22
33on :
4- workflow_dispatch :
4+ workflow_dispatch : # Trigger manually
55 push :
6- tags :
7- - ' [0-9]+.[0-9]+.[0-9]+'
6+ branches :
7+ - main
8+ paths :
9+ - ' charts/**'
810
911jobs :
1012 Get-BE-helm-charts-versions :
@@ -26,14 +28,14 @@ jobs:
2628 - name : Get backend helm charts latest tag version
2729 id : step1
2830 run : |
29- latestVersion=$(git tag | grep -e "^[0-9]*.[0-9]*.[0-9]*$ " | tail -1)
31+ latestVersion=$(git tag | grep -e "^helm-charts- " | tail -1)
3032 echo "::set-output name=latest_version::$latestVersion"
3133 echo "Exported $latestVersion latest backend helm charts version"
3234
3335 - name : Get backend helm charts current version
3436 id : step2
3537 run : |
36- chartVersion=$(cat ./charts/traceability-foss-backend/Chart.yaml | grep "version:" | head -1 | cut -d ":" -d " " -f2)
38+ chartVersion=helm-charts- $(cat ./charts/traceability-foss-backend/Chart.yaml | grep "version:" | head -1 | cut -d ":" -d " " -f2)
3739 echo "::set-output name=current_version::$chartVersion"
3840 echo "Exported $chartVersion backend helm charts version"
3941
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ apiVersion: v2
22name : traceability-foss-backend
33description : A Helm chart for Traceability backend application
44type : application
5- version : 2.3.15
6- appVersion : " 2.3.15 "
5+ version : 1.1.4
6+ appVersion : " 3.0.0 "
77dependencies :
88 - name : postgresql
99 repository : https://charts.bitnami.com/bitnami
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ 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 : 2.3.15
18+ version : 1.1.4
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.
2323# It is recommended to use it with quotes.
24- appVersion : " 2.3.15 "
24+ appVersion : " 3.0.0 "
You can’t perform that action at this time.
0 commit comments