Skip to content

Commit

Permalink
ci: remove release output (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
silentworks authored Aug 16, 2024
1 parent 981a5d0 commit deeab57
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
# uses: codecov/codecov-action@v1
release-please:
needs: test
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' && github.repository_owner == 'supabase' }}
runs-on: ubuntu-latest
name: "Bump version and create changelog"
permissions:
Expand All @@ -65,25 +66,6 @@ jobs:
id: release
with:
target-branch: ${{ github.ref_name }}

- if: ${{ steps.release.outputs }}
id: versions
run: |
set -ex
MAIN_RELEASE_VERSION=${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
RELEASE_VERSION="$MAIN_RELEASE_VERSION"
RELEASE_NAME="v$RELEASE_VERSION"
RELEASE_CREATED='${{ steps.release.outputs.release_created }}'
PRS_CREATED='${{ steps.release.outputs.prs_created }}'
PR_TITLE='${{ github.event.head_commit.message }}'
echo "MAIN_RELEASE_VERSION=${MAIN_RELEASE_VERSION}" >> "${GITHUB_OUTPUT}"
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> "${GITHUB_OUTPUT}"
echo "RELEASE_CREATED=${RELEASE_CREATED}" >> "${GITHUB_OUTPUT}"
echo "RELEASE_NAME=${RELEASE_NAME}" >> "${GITHUB_OUTPUT}"
echo "PRS_CREATED=${PRS_CREATED}" >> "${GITHUB_OUTPUT}"
echo "PR_TITLE=${PR_TITLE}" >> "${GITHUB_OUTPUT}"
publish:
needs: release-please
if: ${{ startsWith(github.event.head_commit.message, 'chore(master)') && github.ref == 'refs/heads/master' && github.event_name == 'push' && github.repository_owner == 'supabase' }}
Expand Down

0 comments on commit deeab57

Please sign in to comment.