Update build-and-publish.yml
This commit is contained in:
parent
3f448017c5
commit
dc10fb5eb5
1 changed files with 7 additions and 1 deletions
8
.github/workflows/build-and-publish.yml
vendored
8
.github/workflows/build-and-publish.yml
vendored
|
@ -61,7 +61,14 @@ jobs:
|
||||||
if: needs.find-charts-to-release.outputs.modified-charts-files
|
if: needs.find-charts-to-release.outputs.modified-charts-files
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: quay.io/git-chglog/git-chglog:0.15.4
|
container: quay.io/git-chglog/git-chglog:0.15.4
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# https://github.com/git-chglog/git-chglog/issues/23#issuecomment-1716941412
|
||||||
|
- name: Generate charts changelog files
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
@ -76,7 +83,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
apk add git grep yq
|
apk add git grep yq
|
||||||
alias git-tag='git tag'
|
|
||||||
|
|
||||||
for chart_file in ${{ needs.find-charts-to-release.outputs.modified-charts-files }}; do
|
for chart_file in ${{ needs.find-charts-to-release.outputs.modified-charts-files }}; do
|
||||||
chart_name=$(grep -Po "(?<=^name: ).+" ${chart_file})
|
chart_name=$(grep -Po "(?<=^name: ).+" ${chart_file})
|
||||||
|
|
Loading…
Reference in a new issue