Skip to content

Commit 7230690

Browse files
arashrclaude
andcommitted
chore: release v1.4.2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 97a47e3 commit 7230690

3 files changed

Lines changed: 14 additions & 11 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"name": "figlets",
1111
"source": "./",
1212
"description": "Three-phase Figma design system workflow: build, audit, and document production components with full token binding.",
13-
"version": "1.3.1"
13+
"version": "1.4.2"
1414
}
1515
]
1616
}

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "figlets",
3-
"version": "1.3.1",
3+
"version": "1.4.2",
44
"description": "Figma design system workflow: bootstrap variables, build components, audit token compliance, and generate spec handovers.",
55
"author": {
66
"name": "Arash Ranjbaran",

scripts/release.sh

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# figlets release script
3-
# Usage: ./scripts/release.sh [patch|minor|major]
3+
# Usage: ./scripts/release.sh [patch|minor|major|x.y.z]
44
# Bumps the version, shows a change summary, asks for confirmation,
55
# then commits + tags + pushes to trigger the GitHub Actions release.
66

@@ -28,14 +28,17 @@ CURRENT=$(grep '"version"' "$PLUGIN_JSON" | sed 's/.*"\([0-9.]*\)".*/\1/')
2828
IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT"
2929

3030
# Calculate new version
31-
case "$BUMP" in
32-
major) MAJOR=$((MAJOR + 1)); MINOR=0; PATCH=0 ;;
33-
minor) MINOR=$((MINOR + 1)); PATCH=0 ;;
34-
patch) PATCH=$((PATCH + 1)) ;;
35-
*) echo "Usage: $0 [patch|minor|major]"; exit 1 ;;
36-
esac
37-
38-
NEW_VERSION="${MAJOR}.${MINOR}.${PATCH}"
31+
if [[ "$BUMP" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
32+
NEW_VERSION="$BUMP"
33+
else
34+
case "$BUMP" in
35+
major) MAJOR=$((MAJOR + 1)); MINOR=0; PATCH=0 ;;
36+
minor) MINOR=$((MINOR + 1)); PATCH=0 ;;
37+
patch) PATCH=$((PATCH + 1)) ;;
38+
*) echo "Usage: $0 [patch|minor|major|x.y.z]"; exit 1 ;;
39+
esac
40+
NEW_VERSION="${MAJOR}.${MINOR}.${PATCH}"
41+
fi
3942

4043
# Header
4144
echo ""

0 commit comments

Comments
 (0)