mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-16 17:57:29 +00:00
Merge pull request #10019 from firefly-iii/main
Merge job changes back into develop
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -204,13 +204,8 @@ jobs:
|
|||||||
- name: Commit all changes
|
- name: Commit all changes
|
||||||
run: |
|
run: |
|
||||||
# add all content, except output.txt (this contains the changelog and/or the download instructions)
|
# 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
|
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.
|
# push to a new branch.
|
||||||
echo "Auto commit on branch '$(git branch --show-current)'."
|
echo "Auto commit on branch '$(git branch --show-current)'."
|
||||||
git commit -m "🤖 Auto commit for release '$version' on $(date +'%Y-%m-%d')" || true
|
git commit -m "🤖 Auto commit for release '$version' on $(date +'%Y-%m-%d')" || true
|
||||||
@@ -228,6 +223,7 @@ jobs:
|
|||||||
GH_TOKEN: ""
|
GH_TOKEN: ""
|
||||||
- name: Describe new release
|
- name: Describe new release
|
||||||
run: |
|
run: |
|
||||||
|
|
||||||
# describe the development release.
|
# describe the development release.
|
||||||
if [[ "develop" == "$version" ]]; then
|
if [[ "develop" == "$version" ]]; then
|
||||||
echo 'Describe the latest develop release'
|
echo 'Describe the latest develop release'
|
||||||
@@ -261,8 +257,8 @@ jobs:
|
|||||||
# describe the main release
|
# describe the main release
|
||||||
if [[ "develop" != "$version" ]] && [[ "$version" != branch* ]] && [[ "$version" != *alpha* ]] && [[ "$version" != *beta* ]]; then
|
if [[ "develop" != "$version" ]] && [[ "$version" != branch* ]] && [[ "$version" != *alpha* ]] && [[ "$version" != *beta* ]]; then
|
||||||
echo 'Describe the latest release'
|
echo 'Describe the latest release'
|
||||||
touch output.txt
|
|
||||||
sudo chown -R runner:docker output.txt
|
sudo chown -R runner:docker output.txt
|
||||||
|
touch output.txt
|
||||||
echo '' >> output.txt
|
echo '' >> output.txt
|
||||||
echo '### Instructions' >> output.txt
|
echo '### Instructions' >> output.txt
|
||||||
echo '' >> output.txt
|
echo '' >> output.txt
|
||||||
|
Reference in New Issue
Block a user