File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,12 +10,21 @@ sources:
1010 pattern : " >=v2.0.0"
1111conditions : {}
1212targets :
13- chartVersion :
14- name : bump appversion
13+ appVersion :
14+ name : bump appVersion
1515 kind : helmchart
1616 spec :
1717 name : charts/steampipe
1818 file : Chart.yaml
1919 key : $.appVersion
20- versionincrement : patch
2120 sourceid : steampipe
21+ chartVersion :
22+ name : bump chart version
23+ kind : helmchart
24+ spec :
25+ name : charts/steampipe
26+ file : Chart.yaml
27+ key : $.version
28+ sourceid : steampipe
29+ transformers :
30+ - trimprefix : " v"
Original file line number Diff line number Diff line change 99 - " charts/steampipe/**"
1010
1111jobs :
12+ get-version :
13+ runs-on : ubuntu-latest
14+ outputs :
15+ tag : ${{ steps.version.outputs.tag }}
16+ steps :
17+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
19+ - name : Get chart version from Chart.yaml
20+ id : version
21+ run : |
22+ VERSION=$(grep '^version:' charts/steampipe/Chart.yaml | awk '{print $2}')
23+ echo "tag=v${VERSION}" >> $GITHUB_OUTPUT
24+
1225 release :
26+ needs : get-version
1327 permissions :
1428 contents : write
1529 packages : write
1832 with :
1933 chart_name : steampipe
2034 charts_dir : charts
35+ tag : ${{ needs.get-version.outputs.tag }}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : steampipe
33description : A Helm chart for Kubernetes to deploy Steampipe
44type : application
5- version : 4.0.0
5+ version : 2.4.1
66appVersion : v2.4.1
77home : https://github.com/devops-ia/helm-steampipe
88sources :
Original file line number Diff line number Diff line change 11{
22 "name" : " helm-steampipe" ,
3- "version" : " 1.0.0" ,
4- "release" : {
5- "branches" : [
6- " main"
7- ],
8- "repositoryUrl" : " https://github.com/devops-ia/helm-steampipe.git" ,
9- "plugins" : [
10- " @semantic-release/release-notes-generator" ,
11- " @semantic-release/github"
12- ]
13- }
14- }
3+ "private" : true
4+ }
You can’t perform that action at this time.
0 commit comments