From f25669a05ba3745207e763e35ec2b61e28881638 Mon Sep 17 00:00:00 2001 From: Amit Dhamu Date: Wed, 4 May 2022 11:00:03 +0100 Subject: [PATCH] Fingers crossed --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75db703..bda7989 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,8 +57,8 @@ jobs: - name: Build run: yarn build - - name: Create Pre-release - if: github.ref != 'refs/heads/main' + - name: Create Release + if: github.ref == 'refs/heads/main' uses: actions/create-release@latest env: GITHUB_TOKEN: ${{ secrets.PAT }} @@ -66,8 +66,8 @@ jobs: tag_name: ${{ steps.env_vars.outputs.CURRENT_VERSION }} release_name: ${{ steps.env_vars.outputs.CURRENT_VERSION }} body: "**Full Changelog**: https://github.com/adhamu/arge/compare/${{ steps.env_vars.outputs.PUBLISHED_VERSION }}...${{ steps.env_vars.outputs.CURRENT_VERSION }}" - draft: true - prerelease: true + draft: false + prerelease: false - name: Publish to Registry run: |