Skip to content

Commit 89c4323

Browse files
committed
Corrections before releasing
1 parent 1d71fea commit 89c4323

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/workflows/helm-chart-release.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: Release Helm Charts
22

33
on:
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

911
jobs:
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

backend/charts/traceability-foss-backend/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: traceability-foss-backend
33
description: A Helm chart for Traceability backend application
44
type: application
5-
version: 2.3.15
6-
appVersion: "2.3.15"
5+
version: 1.1.4
6+
appVersion: "3.0.0"
77
dependencies:
88
- name: postgresql
99
repository: https://charts.bitnami.com/bitnami

frontend/charts/traceability-foss-frontend/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)