Skip to content

Commit d2d9d24

Browse files
committed
fix: restore release scripts and address all PR review comments
- Restore create-release-packages.sh to original with full generate_commands/ rewrite_paths logic; add kimi case using create_kimi_skills function - Restore create-release-packages.ps1 to original with full Generate-Commands/ Rewrite-Paths logic; add kimi case using New-KimiSkills function - Restore create-github-release.sh to original with proper $1 argument handling and VERSION_NO_V; add kimi zip entries - Add test_ai_help_includes_kimi for consistency with other agents - Strengthen test_kimi_in_powershell_validate_set to check ValidateSet
1 parent 0ebf808 commit d2d9d24

File tree

4 files changed

+754
-493
lines changed

4 files changed

+754
-493
lines changed

.github/workflows/scripts/create-github-release.sh

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,20 @@
11
#!/usr/bin/env bash
2-
3-
# Create GitHub Release with all agent template packages
4-
#
5-
# This script creates a GitHub release and uploads all generated zip archives
6-
# as release assets.
7-
82
set -euo pipefail
93

10-
#==============================================================================
11-
# Configuration
12-
#==============================================================================
13-
14-
# Version from git tag or environment
15-
VERSION="${VERSION:-$(git describe --tags --always 2>/dev/null || echo 'dev')}"
16-
VERSION_NO_V="${VERSION#v}"
4+
# create-github-release.sh
5+
# Create a GitHub release with all template zip files
6+
# Usage: create-github-release.sh <version>
177

18-
# Release directory
19-
RELEASE_DIR=".genreleases"
8+
if [[ $# -ne 1 ]]; then
9+
echo "Usage: $0 <version>" >&2
10+
exit 1
11+
fi
2012

21-
#==============================================================================
22-
# Main
23-
#==============================================================================
13+
VERSION="$1"
2414

25-
echo "Creating GitHub release for version: $VERSION"
26-
echo ""
15+
# Remove 'v' prefix from version for release title
16+
VERSION_NO_V=${VERSION#v}
2717

28-
# Create the release with all agent packages
2918
gh release create "$VERSION" \
3019
.genreleases/spec-kit-template-copilot-sh-"$VERSION".zip \
3120
.genreleases/spec-kit-template-copilot-ps-"$VERSION".zip \

0 commit comments

Comments
 (0)