diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36c9db8421..bf25b6bc84 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -279,10 +279,20 @@ jobs: if [[ "develop" != "$version" ]] && [[ "$version" != branch* ]] && [[ "$version" != *alpha* ]] && [[ "$version" != *beta* ]]; then echo 'Describe the latest release' sudo chown -R runner:docker output.txt + + # the changelog is in output.txt + mv output.txt output2.txt + touch output.txt echo '' >> output.txt echo "Welcome to release $version of Firefly III. It contains the the latest fixes, translations and features. Docker users can find this release under the \`latest\` tag." >> output.txt echo '' >> output.txt + + # add changelog to file. + cat output2.txt >> output.txt + echo '' >> output.txt + rm -f output2.txt + echo '### Instructions' >> output.txt echo '' >> output.txt echo "* Installation instructions for [Docker](https://docs.firefly-iii.org/how-to/firefly-iii/installation/docker/), [Portainer](https://docs.firefly-iii.org/how-to/firefly-iii/installation/portainer/), [Kubernetes](https://docs.firefly-iii.org/how-to/firefly-iii/installation/kubernetes/) or [self-managed servers](https://docs.firefly-iii.org/how-to/firefly-iii/installation/self-managed/)" >> output.txt