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: |