From 7e4a1d82e69a7ca22b56aadce53a7a651e9a0ab6 Mon Sep 17 00:00:00 2001 From: Antonio Aloisio Date: Fri, 26 Jan 2024 08:01:20 +0100 Subject: [PATCH] ci: do not publish manifest for pre-releases --- .github/workflows/github-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 08fc16f184f..84c2c94d83b 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -209,7 +209,7 @@ jobs: name: Publish Manifest needs: build-job runs-on: ubuntu-latest - if: startsWith(github.event.ref, 'refs/tags/') + if: startsWith(github.event.ref, 'refs/tags/') && !contains(github.event.ref, 'alpha') && !contains(github.event.ref, 'beta') steps: - uses: actions/checkout@v4 with: @@ -245,4 +245,4 @@ jobs: echo "Uploading to github manifest and ${RELEASE_NOTE_FILE}" git add ${UPDATE_DIR} git commit -m "Updating Notes and manifest to version:${MAJOR_VER} ${MINOR_VER} [skip ci]" -a - git push origin \ No newline at end of file + git push origin