2 Commits

Author SHA1 Message Date
urania 862b12c444 v0.7.1
release / release (push) Successful in 4s
2026-06-26 14:01:38 +02:00
urania f6434af4a2 fix: release and admin bootstrap 2026-06-26 14:01:38 +02:00
3 changed files with 3 additions and 21 deletions
+2 -1
View File
@@ -28,4 +28,5 @@ project.inlang/cache/
*.db
CONTEXT.md
build.sh
.claude
.claude
release.sh
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "clean",
"private": true,
"version": "0.7.0",
"version": "0.7.1",
"type": "module",
"scripts": {
"dev:types": "bun run type:generate && bun --bun vite dev --host",
-19
View File
@@ -1,19 +0,0 @@
#!/usr/bin/env bash
# Cut a release: bump package.json, tag, push.
# Gitea Actions creates the release; Komodo builds & pushes the image via webhook.
# Usage: ./release.sh [patch|minor|major] (default: patch)
set -euo pipefail
cd "$(dirname "$0")"
BUMP="${1:-patch}"
[ -z "$(git status --porcelain)" ] || { echo "working tree dirty, commit first"; exit 1; }
# verify we can push BEFORE bumping — otherwise a failed push leaves the
# version advanced locally with nothing on the remote.
git push --dry-run >/dev/null 2>&1 || { echo "git push auth failed — fix your remote/credentials before bumping"; exit 1; }
# bumps version in package.json AND creates commit + tag vX.Y.Z
bun pm version "$BUMP"
git push --follow-tags
echo "released v$(bun -e 'console.log(require("./package.json").version)')"