summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml58
1 files changed, 57 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 84d340d..ca9aae0 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -83,7 +83,7 @@ jobs:
- name: List artifacts
run: find artifacts -type f
- - name: Create Release
+ - name: Create Release (soryu repo)
uses: softprops/action-gh-release@v2
with:
draft: false
@@ -130,3 +130,59 @@ jobs:
```
files: |
artifacts/**/*.tar.gz
+
+ - name: Create Release (makima repo)
+ env:
+ GH_TOKEN: ${{ secrets.MAKIMA_RELEASE_TOKEN }}
+ run: |
+ # Create release notes file
+ cat > release_notes.md << 'EOF'
+ ## Makima CLI ${{ github.ref_name }}
+
+ Release of the Makima CLI - a unified command-line interface for the Makima platform.
+
+ ### Available Commands
+
+ - **`makima server`** - Run the Makima server for audio processing and API endpoints
+ - **`makima daemon`** - Run the daemon that connects to the server and executes tasks
+ - **`makima supervisor`** - Supervisor commands for managing tasks and contracts
+ - **`makima contract`** - Contract-related commands for task tracking and reporting
+
+ ### Installation
+
+ Download the appropriate binary for your platform and add it to your PATH:
+
+ ```bash
+ # Linux x86_64
+ curl -LO https://github.com/soryu-co/makima/releases/download/${{ github.ref_name }}/makima-${{ github.ref_name }}-linux-x86_64.tar.gz
+ tar xzf makima-${{ github.ref_name }}-linux-x86_64.tar.gz
+ sudo mv makima /usr/local/bin/
+
+ # macOS Intel
+ curl -LO https://github.com/soryu-co/makima/releases/download/${{ github.ref_name }}/makima-${{ github.ref_name }}-macos-x86_64.tar.gz
+ tar xzf makima-${{ github.ref_name }}-macos-x86_64.tar.gz
+ sudo mv makima /usr/local/bin/
+
+ # macOS Apple Silicon
+ curl -LO https://github.com/soryu-co/makima/releases/download/${{ github.ref_name }}/makima-${{ github.ref_name }}-macos-arm64.tar.gz
+ tar xzf makima-${{ github.ref_name }}-macos-arm64.tar.gz
+ sudo mv makima /usr/local/bin/
+ ```
+
+ ### Verification
+
+ After installation, verify with:
+ ```bash
+ makima --help
+ ```
+ EOF
+
+ # Collect all artifact files
+ FILES=$(find artifacts -name "*.tar.gz" -type f | tr '\n' ' ')
+
+ # Create release in soryu-co/makima repo
+ gh release create "${{ github.ref_name }}" \
+ --repo soryu-co/makima \
+ --title "Makima CLI ${{ github.ref_name }}" \
+ --notes-file release_notes.md \
+ $FILES