mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2025-12-19 14:24:20 +01:00
chore: add release script
This commit is contained in:
16
scripts/release.sh
Executable file
16
scripts/release.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euxo pipefail
|
||||
|
||||
if [ -d "dist/.next" ]; then
|
||||
rm -rf dist/.next
|
||||
fi
|
||||
|
||||
pnpm build
|
||||
|
||||
cp -r .next/standalone ./dist/
|
||||
|
||||
git add dist
|
||||
git commit -m "chore: Release"
|
||||
|
||||
git push origin HEAD
|
||||
Reference in New Issue
Block a user