mirror of
https://github.com/Heretek-AI/CachyLLama-BUILDER.git
synced 2026-10-12 02:02:33 +00:00
fix(ci): support release updating with gh release upload --clobber
This commit is contained in:
@@ -320,14 +320,20 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
TAG="${{ steps.tag.outputs.tag }}"
|
||||
gh release create "$TAG" \
|
||||
--title "CachyLLama $TAG (Multi-Backend)" \
|
||||
--notes "### CachyLLama Multi-Backend Release $TAG
|
||||
- **Vulkan RADV**: Linux AMD APU / dGPU acceleration
|
||||
- **CPU**: Linux & Windows x64 / ARM64
|
||||
- **CUDA**: NVIDIA GPU support (sm_75 to sm_121)
|
||||
- **Metal**: Apple Silicon macOS acceleration" \
|
||||
./release-files/*
|
||||
if gh release view "$TAG" >/dev/null 2>&1; then
|
||||
echo "Release $TAG already exists. Uploading/updating release assets with --clobber..."
|
||||
gh release upload "$TAG" ./release-files/* --clobber
|
||||
else
|
||||
echo "Creating new release $TAG..."
|
||||
gh release create "$TAG" \
|
||||
--title "CachyLLama $TAG (Multi-Backend)" \
|
||||
--notes "### CachyLLama Multi-Backend Release $TAG
|
||||
- **Vulkan RADV**: Linux AMD APU / dGPU acceleration
|
||||
- **CPU**: Linux & Windows x64 / ARM64
|
||||
- **CUDA**: NVIDIA GPU support (sm_75 to sm_121)
|
||||
- **Metal**: Apple Silicon macOS acceleration" \
|
||||
./release-files/*
|
||||
fi
|
||||
|
||||
- name: Trigger Homebrew Tap Formula Update
|
||||
if: success()
|
||||
|
||||
@@ -180,7 +180,13 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
TAG="${{ steps.tag.outputs.tag }}"
|
||||
gh release create "llama-ai-$TAG" \
|
||||
--title "llama-ai $TAG Turnkey Bundle" \
|
||||
--notes "Turnkey distribution bundle for llama-ai with pre-compiled CachyLLama binaries, solver, and runner scripts." \
|
||||
./release-bundles/*
|
||||
if gh release view "llama-ai-$TAG" >/dev/null 2>&1; then
|
||||
echo "Release llama-ai-$TAG already exists. Uploading/updating release assets with --clobber..."
|
||||
gh release upload "llama-ai-$TAG" ./release-bundles/* --clobber
|
||||
else
|
||||
echo "Creating new release llama-ai-$TAG..."
|
||||
gh release create "llama-ai-$TAG" \
|
||||
--title "llama-ai $TAG Turnkey Bundle" \
|
||||
--notes "Turnkey distribution bundle for llama-ai with pre-compiled CachyLLama binaries, solver, and runner scripts." \
|
||||
./release-bundles/*
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user