feat(v2.5.0): community events admin CRUD panel + SQL patch v7 + veri… #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| pages: write | |
| id-token: write | |
| jobs: | |
| release: | |
| name: Create GitHub Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Get tag info | |
| id: tag | |
| run: | | |
| echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT | |
| echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT | |
| - name: Create release archive | |
| run: | | |
| mkdir -p release-assets | |
| # Schema SQL | |
| cp isotope-schema.sql release-assets/isotope-schema-v2.sql | |
| # Server + client bootstrap | |
| cp server.mjs release-assets/server.mjs | |
| cp public/restore-and-launch.js release-assets/restore-and-launch.js | |
| cp index.html release-assets/index.html | |
| cp .env.example release-assets/.env.example | |
| # Zip everything needed to run | |
| zip -r release-assets/isotope-selfhosted-${{ steps.tag.outputs.tag }}.zip \ | |
| server.mjs index.html .env.example isotope-schema.sql \ | |
| public/restore-and-launch.js \ | |
| --exclude "*.env" "node_modules/*" | |
| - name: Extract changelog section | |
| id: changelog | |
| run: | | |
| # Extract the section for this tag version from CHANGELOG.md | |
| VERSION="${{ steps.tag.outputs.tag }}" | |
| VERSION_NUM="${VERSION#v}" | |
| SECTION=$(awk "/^## \[${VERSION_NUM}\]/,/^## \[/" CHANGELOG.md | head -n -1) | |
| echo "notes<<EOF" >> $GITHUB_OUTPUT | |
| echo "$SECTION" >> $GITHUB_OUTPUT | |
| echo "EOF" >> $GITHUB_OUTPUT | |
| - name: Create GitHub Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| name: "IsotopeAI Self-Hosted ${{ steps.tag.outputs.tag }}" | |
| body: | | |
| ${{ steps.changelog.outputs.notes }} | |
| --- | |
| ## 📥 Assets | |
| | File | Description | | |
| |------|-------------| | |
| | `isotope-selfhosted-${{ steps.tag.outputs.tag }}.zip` | Complete deployable bundle | | |
| | `isotope-schema-v2.sql` | Database schema (paste into Supabase SQL Editor) | | |
| | `server.mjs` | Standalone server file | | |
| ## 🚀 Quick deploy | |
| ```bash | |
| # 1. Download and extract | |
| unzip isotope-selfhosted-${{ steps.tag.outputs.tag }}.zip | |
| # 2. Configure | |
| cp .env.example .env | |
| # Edit .env with your Supabase credentials | |
| # 3. Apply schema (paste isotope-schema-v2.sql into Supabase SQL Editor) | |
| # 4. Run | |
| node server.mjs | |
| ``` | |
| **Full documentation:** https://suydev.github.io/isotope-code/ | |
| files: | | |
| release-assets/isotope-selfhosted-${{ steps.tag.outputs.tag }}.zip | |
| release-assets/isotope-schema-v2.sql | |
| release-assets/server.mjs | |
| draft: false | |
| prerelease: false | |
| generate_release_notes: false |