chore: Optimized prerelease workflow

This commit is contained in:
Dennis Ploeger committed 2021-11-21 22:50:16 +01:00
1 parent b550922b7b
commit f7c0bf2224
1 file changed
+6 -6
+6 -6
View File
@@ -34,12 +34,12 @@ jobs:
CHANGELOG=$(cat CHANGELOG.md) CHANGELOG=$(cat CHANGELOG.md)
fi fi
echo -e "${{steps.calculate_version.outputs.changelog}}\n\n${CHANGELOG}" > CHANGELOG.md echo -e "${{steps.calculate_version.outputs.changelog}}\n\n${CHANGELOG}" > CHANGELOG.md
# - name: "Commit" - name: "Commit"
# if: "steps.calculate_version.outputs.changelog != ''" if: "steps.calculate_version.outputs.changelog != ''"
# uses: EndBug/add-and-commit@v7.2.1 uses: EndBug/add-and-commit@v7.2.1
# with: with:
# message: "chore: storing version and changelog" message: "chore: storing version and changelog"
# push: true push: true
release: release:
if: "github.event.head_commit.message == 'chore: storing version and changelog'" if: "github.event.head_commit.message == 'chore: storing version and changelog'"
name: Release name: Release