diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0ca464..e51e4cd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -152,7 +152,7 @@ jobs: sha256sum windows/svtminion.ps1 | awk '{ print $1 }' > svtminion.ps1.sha256 git add svtminion.sh.sha256 git add svtminion.ps1.sha256 - git commit -am "Update sha256 checksums" || git commit -am "Update sha256 checksums" + git commit --allow-empty -am "Update sha256 checksums" || git commit --allow-empty -am "Update sha256 checksums" - name: Tag The ${{ needs.update-main.outputs.release-version }} Release run: | @@ -228,8 +228,8 @@ jobs: - name: Commit Changes run: | - git commit -am "Update README.md with ${{ env.VMTS_VERSION }} release sha256sum" || \ - git commit -am "Update README.md with ${{ env.VMTS_VERSION }} release sha256sum" + git commit --allow-empty -am "Update README.md with ${{ env.VMTS_VERSION }} release sha256sum" || \ + git commit --allow-empty -am "Update README.md with ${{ env.VMTS_VERSION }} release sha256sum" - name: Push Changes uses: ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839