Spaces:
Sleeping
Sleeping
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Extract version from tag | |
| id: version | |
| run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT | |
| - name: Create Release | |
| uses: actions/create-release@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| tag_name: ${{ github.ref }} | |
| release_name: Release ${{ steps.version.outputs.VERSION }} | |
| body: | | |
| # RAG Template ${{ steps.version.outputs.VERSION }} | |
| ## What's Changed | |
| See [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for detailed changes. | |
| ## Installation | |
| ```bash | |
| git clone https://github.com/${{ github.repository }}.git | |
| cd rag_template | |
| git checkout ${{ steps.version.outputs.VERSION }} | |
| pip install -r requirements.txt | |
| ``` | |
| ## Docker | |
| ```bash | |
| docker pull ghcr.io/${{ github.repository }}:${{ steps.version.outputs.VERSION }} | |
| ``` | |
| ## Documentation | |
| - [README.md](README.md) | |
| - [Setup Guide](docs/SUPABASE_SETUP.md) | |
| - [Contributing](CONTRIBUTING.md) | |
| draft: false | |
| prerelease: false | |