summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-08 08:16:45 +0100
committerGitHub <noreply@github.com>2024-01-08 08:16:45 +0100
commit23b8eafd53becd7bd2feb69f1adb1d8cec34a700 (patch)
tree978656d99a5b40da66799018b1f22e911453521f /.github/workflows
parentf5df7f2e0f118bb88db2085ec57847543764a980 (diff)
downloadvyos-rolling-nightly-builds-23b8eafd53becd7bd2feb69f1adb1d8cec34a700.tar.gz
vyos-rolling-nightly-builds-23b8eafd53becd7bd2feb69f1adb1d8cec34a700.zip
actions: use cat and EOF when building changelog
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/vyos-rolling-nightly-build.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/vyos-rolling-nightly-build.yml b/.github/workflows/vyos-rolling-nightly-build.yml
index b41caf6..510f472 100644
--- a/.github/workflows/vyos-rolling-nightly-build.yml
+++ b/.github/workflows/vyos-rolling-nightly-build.yml
@@ -178,10 +178,13 @@ jobs:
- name: write-changelog
run: |
- echo -e "## vyos-1x\n" > CHANGELOG.md
- echo -e "${{ steps.generate-1x-changelog.outputs.changelog || 'No changes' }}\n" >> CHANGELOG.md
- echo -e "## vyos-build\n" >> CHANGELOG.md
- echo -e "${{ steps.generate-build-changelog.outputs.changelog || 'No changes' }}" >> CHANGELOG.md
+ cat <<EOF > CHANGELOG.md
+ ## vyos-1x
+ ${{ steps.generate-1x-changelog.outputs.changelog }}
+ ## vyos-build
+ ${{ steps.generate-build-changelog.outputs.changelog }}
+ EOF
+ cat CHANGELOG.md
- name: Create autocommit and tag
uses: stefanzweifel/git-auto-commit-action@v4