Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix output.txt routine.
James Cole1734c7f545b0
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 5b55e9a352..53794f3c14 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -204,13 +204,8 @@ jobs:- name: Commit all changesrun: |# add all content, except output.txt (this contains the changelog and/or the download instructions)- echo 'Add all and reset output.txt'+ echo 'Add all'git add -A- if test -f "output.txt"; then- echo 'output.txt exists, reset it.'- git reset output.txt- fi-# push to a new branch.echo "Auto commit on branch '$(git branch --show-current)'."git commit -m "🤖 Auto commit for release '$version' on $(date +'%Y-%m-%d')" || true@@ -228,11 +223,8 @@ jobs:GH_TOKEN: ""- name: Describe new releaserun: |+# describe the development release.- sudo chown runner:docker output.txt- ls -la- touch output.txt- exit 1if [[ "develop" == "$version" ]]; thenecho 'Describe the latest develop release'rm -f output.txt@@ -265,8 +257,8 @@ jobs:# describe the main releaseif [[ "develop" != "$version" ]] && [[ "$version" != branch* ]] && [[ "$version" != *alpha* ]] && [[ "$version" != *beta* ]]; thenecho 'Describe the latest release'- touch output.txtsudo chown -R runner:docker output.txt+ touch output.txtecho '' >> output.txtecho '### Instructions' >> output.txtecho '' >> output.txt