11### Release Workflow
22
3- 1 . PRs that include changes in the ` helm-chart/ ` directory with a base of ` main ` should also choose a PR
4- title that decides if the chart's version bumps will be major, minor or patch according to semantic versioning.
5- All they need to do is prefix ` major : ` , ` minor: ` or ` patch: ` to the PR title
3+ 1 . PRs that include changes in the ` helm-chart/<eoapi> || <eoapi-support> ` charts are manually required to consider
4+ whether their changes are major, minor or patch (in terms of semantic versioning) and bump the appropriate
5+ chart ` version: ` (which follows semver) and ` appVersion : ` (which does not follow semver) for each affected chart
66
7+ 3 . The releaser then merges the above PR
78
8- 2 . All PRs opened, synchronized or reopened against ` main ` will kick off a "pre-release" workflow that does the following:
9-
10- 1 . detect if there are changes in the ` helm-chart/ ` directory (if no changes are detected the "pre-release.yaml" workflow exits gracefully)
11-
12- 2 . sniff the PR title to determine major, minor or patch bumps
13-
14- 3 . increment the helm chart's ` version ` and ` appVersion ` accordingly
15-
16- 4 . add a commit to the open PR with the ` Chart.yaml ` bumps and a commit titled: ` 'release version to v<version-increment> `
17-
18-
19- 3 . The releaser should review this PR and make sure everything (include the ` Chart.yaml ` bumps seem correct). Then merge the PR
20-
21-
22- 3 . Then the releaser should go to the Github release UI/UX and kick off a new release by doing the following:
9+ 4 . Then the releaser should go to the Github release UI/UX and kick off a new release by doing the following:
2310
2411 1 . click "Draft New Release"
2512
26- 2 . create a new tag for the branch ` main ` with the chart version listed in the previous PR's commit message
13+ 2 . create a new tag for that matches the ` helm- chart/eoapi/Chart.yaml: version` they just commited
2714
2815 3 . click the "Generate release notes"
2916
@@ -32,8 +19,7 @@ All they need to do is prefix `major: `, `minor: ` or `patch: ` to the PR title
3219 5 . click the "Publish release"
3320
3421
35- 5 . This last step then kicks off another GH Actions workflow called "release.yaml" which publishes the helm chart to the
36- ` gh-pages ` branch
37-
22+ 5 . This last step then kicks off another GH Actions workflow called "release.yaml" which publishes any helm charts
23+ that had version bumps since the last time
3824
39256 . Verify the release is all good by running ` helm repo update && helm search repo eoapi --versions `
0 commit comments