Skip to content

Commit 4cf71cc

Browse files
authored
ci: fix var mismatch, reverted package strings in workflow checks, fix readme generation loop (#36)
* ci: fix var mismatch and reverted package strings in workflow checks * ci: appease precommit * ci: appease precommit hopefully for good
1 parent 65ab562 commit 4cf71cc

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

.github/workflows/release-please.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
outputs:
1616
releases_created: ${{ steps.release.outputs.releases_created }}
1717
paths_released: ${{ steps.release.outputs.paths_released }}
18-
app_version: ${{ steps.release.outputs['data-sync-operator--version'] }}
19-
chart_version: ${{ steps.release.outputs['data-sync-operator-chart--version'] }}
18+
app_version: ${{ steps.release.outputs.version }}
19+
chart_version: ${{ steps.release.outputs['chart--version'] }}
2020
steps:
2121
- uses: googleapis/release-please-action@v4
2222
id: release
@@ -26,7 +26,7 @@ jobs:
2626
manifest-file: .release-please-manifest.json
2727

2828
publish-tag-app-artifact:
29-
if: ${{ fromJSON(needs.release-please.outputs.releases_created) && contains(fromJSON(needs.release-please.outputs.paths_released), 'data-sync-operator') }}
29+
if: ${{ fromJSON(needs.release-please.outputs.releases_created) && contains(fromJSON(needs.release-please.outputs.paths_released), '.') }}
3030
runs-on: ubuntu-latest
3131
needs: [release-please]
3232
permissions:
@@ -62,7 +62,7 @@ jobs:
6262
labels: ${{ steps.meta.outputs.labels }}
6363

6464
publish-tag-chart-artifact:
65-
if: ${{ fromJSON(needs.release-please.outputs.releases_created) && contains(fromJSON(needs.release-please.outputs.paths_released), 'data-sync-operator-chart') }}
65+
if: ${{ fromJSON(needs.release-please.outputs.releases_created) && contains(fromJSON(needs.release-please.outputs.paths_released), 'chart') }}
6666
runs-on: ubuntu-latest
6767
needs: [release-please]
6868
permissions:

chart/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# data-sync-operator-chart
22

3-
![Version: 1.0.3](https://img.shields.io/badge/Version-1.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
3+
### version: 1.0.4<!-- x-release-please-version -->
4+
5+
![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
46

57
A Helm chart to distribute the project data-sync-operator
68

@@ -29,4 +31,3 @@ A Helm chart to distribute the project data-sync-operator
2931
| metrics.enable | bool | `false` | |
3032
| metrics.port | int | `8443` | |
3133
| rbacHelpers.enable | bool | `false` | |
32-

chart/README.md.gotmpl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{{ template "chart.header" . }}
2+
3+
### version: {{ template "chart.version" . }}<!-- x-release-please-version -->
4+
5+
{{ template "chart.appVersionBadge" . }}
6+
7+
{{ template "chart.description" . }}
8+
9+
{{ template "chart.homepageLine" . }}
10+
11+
{{ template "chart.requirementsSection" . }}
12+
13+
{{ template "chart.valuesSection" . }}

0 commit comments

Comments
 (0)