mirror of
https://github.com/outbackdingo/Mailu.git
synced 2026-01-27 10:19:35 +00:00
Fix tag-release step in workflow which prevented github releases from being created automatically.
Cause was that a specific method is required for assigning multi-line strings in github workflow files: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
This commit is contained in:
5
.github/workflows/build_test_deploy.yml
vendored
5
.github/workflows/build_test_deploy.yml
vendored
@@ -416,8 +416,11 @@ jobs:
|
||||
id: changelog
|
||||
shell: bash
|
||||
run: |
|
||||
delimiter="$RANDOM"
|
||||
pushd . && cd towncrier/newsfragments && ls -Art | tail -n 1 | cut -d. -f1 | xargs -0I % echo "issue=%" >> $GITHUB_OUTPUT && popd
|
||||
pushd . && cd towncrier/newsfragments && ls -Art | tail -n 1 | xargs cat | xargs -0I % echo "content=%" >> $GITHUB_OUTPUT && popd
|
||||
echo "content<<${delimiter}" >> "${GITHUB_OUTPUT}"
|
||||
pushd . && cd towncrier/newsfragments && ls -Art | tail -n 1 | xargs cat | xargs -0I % echo "%" >> "${GITHUB_OUTPUT}" && popd
|
||||
echo "${delimiter}" >> "${GITHUB_OUTPUT}"
|
||||
- name: Construct message for release
|
||||
shell: bash
|
||||
env:
|
||||
|
||||
3
towncrier/newsfragments/2744.misc
Normal file
3
towncrier/newsfragments/2744.misc
Normal file
@@ -0,0 +1,3 @@
|
||||
Fix tag-release step in workflow which prevented github releases from being created automatically.
|
||||
Cause was that a specific method is required for assigning multi-line strings in github workflow files:
|
||||
https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
|
||||
Reference in New Issue
Block a user