diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 5859294..8c0fa22 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -79,3 +79,14 @@ jobs: NEW_TAG=${{ steps.new-tag.outputs.new_tag }} git tag $NEW_TAG git push origin $NEW_TAG + + - name: Create release + if: github.ref == 'refs/heads/main' + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ steps.new-tag.outputs.new_tag }} + release_name: Release ${{ steps.new-tag.outputs.new_tag }} + draft: false + prerelease: false