From 8f878d9e57b99d1d95b2883a0c0448182502219b Mon Sep 17 00:00:00 2001 From: FallegaHQ Date: Sat, 12 Apr 2025 00:24:50 +0100 Subject: [PATCH] fix: remove merge request check before releasing --- .github/workflows/release.yml | 16 +--------------- VERSION | 2 +- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f1fc1e..514987d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,20 +32,6 @@ jobs: echo $CHANGELOG >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV - - name: Check if commit message indicates merge - run: | - if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then - if git show -s --format=%B "$GITHUB_SHA" | grep -q "Merge pull request"; then - echo "Detected a successful merge request." - else - echo "Detected an unsuccessful merge request." - exit 1 - fi - else - echo "Did not detected a merge request." - exit 1 - fi - - name: Exclude useless files from release run: | git update-index --skip-worktree VERSION @@ -60,7 +46,7 @@ jobs: - name: Cache Composer packages uses: actions/cache@v4 - with: + with:s path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | diff --git a/VERSION b/VERSION index 747b2f1..a6410c2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.1alpha2 +0.0.1alpha3