Explorar o código

fix updation of new-release-tests for a new release

Mohammed Nafees %!s(int64=4) %!d(string=hai) anos
pai
achega
c8341d4522
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  1. 1 5
      .github/workflows/prerelease.yaml

+ 1 - 5
.github/workflows/prerelease.yaml

@@ -503,11 +503,7 @@ jobs:
           git config user.name "Update Bot"
           git config user.email "support@porter.run"
 
-          git add .
-
-          git diff --quiet --exit-code || git commit -m "Update to Porter GHA version ${{steps.tag_name.outputs.tag}}"
-
-          git push -f
+          git diff --quiet --exit-code || git add . && git commit -m "Update to Porter GHA version ${{steps.tag_name.outputs.tag}}" && git push -f
   run-new-release-tests-workflows:
     name: Run new-release-tests Porter workflows
     runs-on: ubuntu-latest