Просмотр исходного кода

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

Mohammed Nafees 4 лет назад
Родитель
Сommit
c8341d4522
1 измененных файлов с 1 добавлено и 5 удалено
  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