diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25971a7..05aa8d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,32 +5,10 @@ on: tags: ['v*.*.*'] jobs: - release: + build: runs-on: ubuntu-latest - permissions: - contents: write steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Extract Release Notes - id: extract-release-notes - run: | - echo "RELEASE_NOTES<> $GITHUB_ENV - git log $(git describe --tags --abbrev=0 HEAD^1 2>/dev/null || echo HEAD^1)..HEAD --pretty=format:"- %s%n%b" >> $GITHUB_ENV - echo "EOF" >> $GITHUB_ENV - - - name: Create GitHub Release - uses: softprops/action-gh-release@v1 - with: - name: Release ${{ github.ref_name }} - body: | - # MCPHub ${{ github.ref_name }} - - ${{ env.RELEASE_NOTES }} - draft: false - prerelease: false - generate_release_notes: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Checkout + uses: actions/checkout@v4 + - name: Release + uses: softprops/action-gh-release@v2