Skip to content

Commit 334319c

Browse files
authored
chore(cmind): rename rpgkit → cmind across CoderMind module (#60)
Surface-only rename to align the CLI command, Python package, and runtime paths with the CoderMind product name. Follow-up to #59 (which renamed RPG-Kit → CoderMind at the directory level only). Naming map: rpgkit → cmind (CLI command, slash-command prefix) rpgkit-cli → cmind-cli (wheel / package name) rpgkit_cli → cmind_cli (Python import package) rpgkit-mcp → cmind-mcp (MCP server console script) .rpgkit/, ~/.rpgkit/ → .cmind/, ~/.cmind/ (runtime directories) RPGKIT_* → CMIND_* (env vars, constants, gitignore markers) rpgkit-v* (release tag) → cmind-v* RPG-Kit → CoderMind (product name in docs/comments) Scope: - .github/workflows/{lint,release,pre-release}.yml + scripts/ dir renamed - CoderMind/src/rpgkit_cli/ renamed to cmind_cli/, all imports updated - CoderMind/pyproject.toml: package name, console scripts, wheel paths - CoderMind/scripts/, tests/, docs/, READMEs (incl. zh/ja/ko/hi) - templates/commands/* internal references - root README.md install/upgrade snippets + docs/cmind_visualized_graph.png Breaking change: existing `.rpgkit/` workspaces will not be auto-migrated. Users on v0.1.x need to re-run `cmind init` after upgrading. Historical release tags `rpgkit-v0.1.{1..4}` are kept; new releases will be tagged `cmind-v*`. Verified end-to-end: - `cmind init/update/version/check` smoke-tested in a clean workspace - Unit tests: 909 pass; 29 pre-existing failures (unrelated to rename, confirmed by comparing against pre-rename main via git stash)
1 parent 200a0e8 commit 334319c

138 files changed

Lines changed: 2175 additions & 2186 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ on:
88
branches: [main]
99
paths:
1010
- "CoderMind/**"
11-
- ".github/workflows/rpgkit-*.yml"
12-
- ".github/workflows/scripts/rpgkit/**"
11+
- ".github/workflows/cmind-*.yml"
12+
- ".github/workflows/scripts/cmind/**"
1313
- ".markdownlint-cli2.jsonc"
1414
pull_request:
1515
paths:
1616
- "CoderMind/**"
17-
- ".github/workflows/rpgkit-*.yml"
18-
- ".github/workflows/scripts/rpgkit/**"
17+
- ".github/workflows/cmind-*.yml"
18+
- ".github/workflows/scripts/cmind/**"
1919
- ".markdownlint-cli2.jsonc"
2020
workflow_dispatch:
2121

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
- dev
77
paths:
88
- "CoderMind/**"
9-
- ".github/workflows/rpgkit-pre-release.yml"
10-
- ".github/workflows/scripts/rpgkit/**"
9+
- ".github/workflows/cmind-pre-release.yml"
10+
- ".github/workflows/scripts/cmind/**"
1111
workflow_dispatch:
1212

1313
jobs:
@@ -26,28 +26,28 @@ jobs:
2626
token: ${{ secrets.GITHUB_TOKEN }}
2727

2828
- name: Prepare scripts
29-
run: chmod +x .github/workflows/scripts/rpgkit/*.sh
29+
run: chmod +x .github/workflows/scripts/cmind/*.sh
3030

3131
- name: Get CoderMind pre-release version
3232
id: get_tag
33-
run: .github/workflows/scripts/rpgkit/get-next-pre-version.sh "${{ github.run_number }}"
33+
run: .github/workflows/scripts/cmind/get-next-pre-version.sh "${{ github.run_number }}"
3434

3535
- name: Check if release already exists
3636
id: check_release
37-
run: .github/workflows/scripts/rpgkit/check-release-exists.sh "${{ steps.get_tag.outputs.tag_name }}"
37+
run: .github/workflows/scripts/cmind/check-release-exists.sh "${{ steps.get_tag.outputs.tag_name }}"
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040

4141
- name: Create release package variants
4242
if: steps.check_release.outputs.exists == 'false'
43-
run: .github/workflows/scripts/rpgkit/create-release-packages.sh "${{ steps.get_tag.outputs.new_version }}"
43+
run: .github/workflows/scripts/cmind/create-release-packages.sh "${{ steps.get_tag.outputs.new_version }}"
4444

4545
- name: Generate release notes
4646
if: steps.check_release.outputs.exists == 'false'
47-
run: .github/workflows/scripts/rpgkit/generate-release-notes.sh "${{ steps.get_tag.outputs.new_version }}" "${{ steps.get_tag.outputs.latest_tag }}" pre
47+
run: .github/workflows/scripts/cmind/generate-release-notes.sh "${{ steps.get_tag.outputs.new_version }}" "${{ steps.get_tag.outputs.latest_tag }}" pre
4848

4949
- name: Create GitHub pre-release
5050
if: steps.check_release.outputs.exists == 'false'
51-
run: .github/workflows/scripts/rpgkit/create-github-release.sh "${{ steps.get_tag.outputs.new_version }}" "${{ steps.get_tag.outputs.tag_name }}" pre
51+
run: .github/workflows/scripts/cmind/create-github-release.sh "${{ steps.get_tag.outputs.new_version }}" "${{ steps.get_tag.outputs.tag_name }}" pre
5252
env:
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
branches: [main]
66
paths:
77
- "CoderMind/**"
8-
- ".github/workflows/rpgkit-release.yml"
9-
- ".github/workflows/scripts/rpgkit/**"
8+
- ".github/workflows/cmind-release.yml"
9+
- ".github/workflows/scripts/cmind/**"
1010
workflow_dispatch:
1111

1212
jobs:
@@ -25,32 +25,32 @@ jobs:
2525
token: ${{ secrets.GITHUB_TOKEN }}
2626

2727
- name: Prepare scripts
28-
run: chmod +x .github/workflows/scripts/rpgkit/*.sh
28+
run: chmod +x .github/workflows/scripts/cmind/*.sh
2929

3030
- name: Get next CoderMind version
3131
id: get_tag
32-
run: .github/workflows/scripts/rpgkit/get-next-version.sh
32+
run: .github/workflows/scripts/cmind/get-next-version.sh
3333

3434
- name: Check if release already exists
3535
id: check_release
36-
run: .github/workflows/scripts/rpgkit/check-release-exists.sh "${{ steps.get_tag.outputs.tag_name }}"
36+
run: .github/workflows/scripts/cmind/check-release-exists.sh "${{ steps.get_tag.outputs.tag_name }}"
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939

4040
- name: Update version in pyproject.toml
4141
if: steps.check_release.outputs.exists == 'false'
42-
run: .github/workflows/scripts/rpgkit/update-version.sh "${{ steps.get_tag.outputs.new_version }}"
42+
run: .github/workflows/scripts/cmind/update-version.sh "${{ steps.get_tag.outputs.new_version }}"
4343

4444
- name: Create release package variants
4545
if: steps.check_release.outputs.exists == 'false'
46-
run: .github/workflows/scripts/rpgkit/create-release-packages.sh "${{ steps.get_tag.outputs.new_version }}"
46+
run: .github/workflows/scripts/cmind/create-release-packages.sh "${{ steps.get_tag.outputs.new_version }}"
4747

4848
- name: Generate release notes
4949
if: steps.check_release.outputs.exists == 'false'
50-
run: .github/workflows/scripts/rpgkit/generate-release-notes.sh "${{ steps.get_tag.outputs.new_version }}" "${{ steps.get_tag.outputs.latest_tag }}" stable
50+
run: .github/workflows/scripts/cmind/generate-release-notes.sh "${{ steps.get_tag.outputs.new_version }}" "${{ steps.get_tag.outputs.latest_tag }}" stable
5151

5252
- name: Create GitHub release
5353
if: steps.check_release.outputs.exists == 'false'
54-
run: .github/workflows/scripts/rpgkit/create-github-release.sh "${{ steps.get_tag.outputs.new_version }}" "${{ steps.get_tag.outputs.tag_name }}" stable
54+
run: .github/workflows/scripts/cmind/create-github-release.sh "${{ steps.get_tag.outputs.new_version }}" "${{ steps.get_tag.outputs.tag_name }}" stable
5555
env:
5656
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/scripts/rpgkit/check-release-exists.sh renamed to .github/workflows/scripts/cmind/check-release-exists.sh

File renamed without changes.

.github/workflows/scripts/rpgkit/create-github-release.sh renamed to .github/workflows/scripts/cmind/create-github-release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ TAG_NAME="$2"
1111
RELEASE_KIND="${3:-stable}"
1212
VERSION_NO_V="${VERSION#v}"
1313
REPO_ROOT="${GITHUB_WORKSPACE:-$(git rev-parse --show-toplevel)}"
14-
PROJECT_DIR="${PROJECT_DIR:-RPG-Kit}"
14+
PROJECT_DIR="${PROJECT_DIR:-CoderMind}"
1515
PROJECT_ROOT="$REPO_ROOT/$PROJECT_DIR"
1616
GENRELEASES_DIR="$PROJECT_ROOT/.genreleases"
1717
NOTES_FILE="${NOTES_FILE:-$REPO_ROOT/release_notes.md}"
1818

19-
mapfile -t ASSETS < <(find "$GENRELEASES_DIR" -maxdepth 1 -type f -name "rpgkit-template-*-${VERSION}.zip" | sort)
19+
mapfile -t ASSETS < <(find "$GENRELEASES_DIR" -maxdepth 1 -type f -name "cmind-template-*-${VERSION}.zip" | sort)
2020
if [[ ${#ASSETS[@]} -eq 0 ]]; then
2121
echo "No release assets found in $GENRELEASES_DIR for $VERSION" >&2
2222
exit 1
@@ -34,7 +34,7 @@ fi
3434

3535
gh release create "$TAG_NAME" \
3636
"${ASSETS[@]}" \
37-
--title "RPG-Kit Templates - $VERSION_NO_V" \
37+
--title "CoderMind Templates - $VERSION_NO_V" \
3838
--notes-file "$NOTES_FILE" \
3939
"${PRERELEASE_ARG[@]}" \
4040
"${TARGET_ARG[@]}"

.github/workflows/scripts/rpgkit/create-release-packages.ps1 renamed to .github/workflows/scripts/cmind/create-release-packages.ps1

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ if ($Version -notmatch '^v\d+\.\d+\.\d+(-.+)?$') {
4949
}
5050

5151
$RepoRoot = if ($env:GITHUB_WORKSPACE) { $env:GITHUB_WORKSPACE } else { (git rev-parse --show-toplevel).Trim() }
52-
$ProjectDir = if ($env:PROJECT_DIR) { $env:PROJECT_DIR } else { "RPG-Kit" }
52+
$ProjectDir = if ($env:PROJECT_DIR) { $env:PROJECT_DIR } else { "CoderMind" }
5353
$ProjectRoot = Join-Path $RepoRoot $ProjectDir
5454
if (-not (Test-Path $ProjectRoot)) {
55-
Write-Error "RPG-Kit project directory not found: $ProjectRoot"
55+
Write-Error "CoderMind project directory not found: $ProjectRoot"
5656
exit 1
5757
}
5858
Set-Location $ProjectRoot
@@ -68,10 +68,10 @@ New-Item -ItemType Directory -Path $GenReleasesDir -Force | Out-Null
6868
function Rewrite-Paths {
6969
param([string]$Content)
7070

71-
$Content = $Content -replace '(/?)\bmemory/', '.rpgkit/memory/'
72-
$Content = $Content -replace '(/?)\bscripts/', '.rpgkit/scripts/'
73-
$Content = $Content -replace '(/?)\btemplates/', '.rpgkit/templates/'
74-
$Content = $Content -replace '(/?)\butils/', '.rpgkit/utils/'
71+
$Content = $Content -replace '(/?)\bmemory/', '.cmind/memory/'
72+
$Content = $Content -replace '(/?)\bscripts/', '.cmind/scripts/'
73+
$Content = $Content -replace '(/?)\btemplates/', '.cmind/templates/'
74+
$Content = $Content -replace '(/?)\butils/', '.cmind/utils/'
7575
return $Content
7676
}
7777

@@ -97,11 +97,11 @@ function Generate-Commands {
9797
$description = $matches[1]
9898
}
9999

100-
# Rewrite paths for .rpgkit structure
100+
# Rewrite paths for .cmind structure
101101
$body = Rewrite-Paths -Content $body
102102

103103
# Generate output file based on extension
104-
$outputFile = Join-Path $OutputDir "rpgkit.$name.$Extension"
104+
$outputFile = Join-Path $OutputDir "cmind.$name.$Extension"
105105

106106
switch ($Extension) {
107107
'toml' {
@@ -127,7 +127,7 @@ function Generate-CopilotPrompts {
127127

128128
New-Item -ItemType Directory -Path $PromptsDir -Force | Out-Null
129129

130-
$agentFiles = Get-ChildItem -Path "$AgentsDir/rpgkit.*.agent.md" -File -ErrorAction SilentlyContinue
130+
$agentFiles = Get-ChildItem -Path "$AgentsDir/cmind.*.agent.md" -File -ErrorAction SilentlyContinue
131131

132132
foreach ($agentFile in $agentFiles) {
133133
$basename = $agentFile.Name -replace '\.agent\.md$', ''
@@ -153,18 +153,18 @@ function Build-Variant {
153153
New-Item -ItemType Directory -Path $baseDir -Force | Out-Null
154154

155155
# Copy base structure but filter scripts by variant
156-
$specDir = Join-Path $baseDir ".rpgkit"
156+
$specDir = Join-Path $baseDir ".cmind"
157157
New-Item -ItemType Directory -Path $specDir -Force | Out-Null
158158

159159
if (Test-Path "pyproject.toml") {
160160
Copy-Item -Path "pyproject.toml" -Destination (Join-Path $specDir "pyproject.toml") -Force
161-
Write-Host "Copied pyproject.toml -> .rpgkit"
161+
Write-Host "Copied pyproject.toml -> .cmind"
162162
}
163163

164164
# Copy memory directory
165165
if (Test-Path "memory") {
166166
Copy-Item -Path "memory" -Destination $specDir -Recurse -Force
167-
Write-Host "Copied memory -> .rpgkit"
167+
Write-Host "Copied memory -> .cmind"
168168
}
169169

170170
# Only copy the relevant script variant directory
@@ -176,13 +176,13 @@ function Build-Variant {
176176
'sh' {
177177
if (Test-Path "scripts/bash") {
178178
Copy-Item -Path "scripts/bash" -Destination $scriptsDestDir -Recurse -Force
179-
Write-Host "Copied scripts/bash -> .rpgkit/scripts"
179+
Write-Host "Copied scripts/bash -> .cmind/scripts"
180180
}
181181
}
182182
'ps' {
183183
if (Test-Path "scripts/powershell") {
184184
Copy-Item -Path "scripts/powershell" -Destination $scriptsDestDir -Recurse -Force
185-
Write-Host "Copied scripts/powershell -> .rpgkit/scripts"
185+
Write-Host "Copied scripts/powershell -> .cmind/scripts"
186186
}
187187
}
188188
}
@@ -212,13 +212,13 @@ function Build-Variant {
212212
New-Item -ItemType Directory -Path $destFileDir -Force | Out-Null
213213
Copy-Item -Path $_.FullName -Destination $destFile -Force
214214
}
215-
Write-Host "Copied templates -> .rpgkit/templates"
215+
Write-Host "Copied templates -> .cmind/templates"
216216
}
217217

218218
# Copy utils directory
219219
if (Test-Path "utils") {
220220
Copy-Item -Path "utils" -Destination $specDir -Recurse -Force
221-
Write-Host "Copied utils -> .rpgkit/utils"
221+
Write-Host "Copied utils -> .cmind/utils"
222222
}
223223

224224
# Replace <AI_CLI_CMD> placeholder in copied scripts with the actual CLI command name
@@ -342,7 +342,7 @@ function Build-Variant {
342342
}
343343

344344
# Create zip archive
345-
$zipFile = Join-Path $GenReleasesDir "rpgkit-template-${Agent}-${Script}-${Version}.zip"
345+
$zipFile = Join-Path $GenReleasesDir "cmind-template-${Agent}-${Script}-${Version}.zip"
346346
Compress-Archive -Path "$baseDir/*" -DestinationPath $zipFile -Force
347347
Write-Host "Created $zipFile"
348348
}
@@ -411,6 +411,6 @@ foreach ($agent in $AgentList) {
411411
}
412412

413413
Write-Host "`nArchives in ${GenReleasesDir}:"
414-
Get-ChildItem -Path $GenReleasesDir -Filter "rpgkit-template-*-${Version}.zip" | ForEach-Object {
414+
Get-ChildItem -Path $GenReleasesDir -Filter "cmind-template-*-${Version}.zip" | ForEach-Object {
415415
Write-Host " $($_.Name)"
416416
}

.github/workflows/scripts/rpgkit/create-release-packages.sh renamed to .github/workflows/scripts/cmind/create-release-packages.sh

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ if [[ ! $NEW_VERSION =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-.+)?$ ]]; then
2525
fi
2626

2727
REPO_ROOT="${GITHUB_WORKSPACE:-$(git rev-parse --show-toplevel)}"
28-
PROJECT_DIR="${PROJECT_DIR:-RPG-Kit}"
28+
PROJECT_DIR="${PROJECT_DIR:-CoderMind}"
2929
PROJECT_ROOT="$REPO_ROOT/$PROJECT_DIR"
3030
GENRELEASES_DIR="$PROJECT_ROOT/.genreleases"
3131

3232
if [[ ! -d "$PROJECT_ROOT" ]]; then
33-
echo "RPG-Kit project directory not found: $PROJECT_ROOT" >&2
33+
echo "CoderMind project directory not found: $PROJECT_ROOT" >&2
3434
exit 1
3535
fi
3636

@@ -57,11 +57,11 @@ generate_commands() {
5757
case $ext in
5858
toml)
5959
body=$(sed 's/\\/\\\\/g' <<< "$body")
60-
{ echo "description = \"$description\""; echo; echo "prompt = \"\"\""; echo "$body"; echo "\"\"\""; } > "$output_dir/rpgkit.$name.$ext" ;;
60+
{ echo "description = \"$description\""; echo; echo "prompt = \"\"\""; echo "$body"; echo "\"\"\""; } > "$output_dir/cmind.$name.$ext" ;;
6161
md)
62-
echo "$body" > "$output_dir/rpgkit.$name.$ext" ;;
62+
echo "$body" > "$output_dir/cmind.$name.$ext" ;;
6363
agent.md)
64-
echo "$body" > "$output_dir/rpgkit.$name.$ext" ;;
64+
echo "$body" > "$output_dir/cmind.$name.$ext" ;;
6565
esac
6666
done
6767
}
@@ -71,7 +71,7 @@ generate_copilot_prompts() {
7171
mkdir -p "$prompts_dir"
7272

7373
# Generate a .prompt.md file for each .agent.md file
74-
for agent_file in "$agents_dir"/rpgkit.*.agent.md; do
74+
for agent_file in "$agents_dir"/cmind.*.agent.md; do
7575
[[ -f "$agent_file" ]] || continue
7676

7777
local basename=$(basename "$agent_file" .agent.md)
@@ -109,27 +109,27 @@ build_variant() {
109109
mkdir -p "$base_dir"
110110

111111
# Copy base structure but filter scripts by variant
112-
SPEC_DIR="$base_dir/.rpgkit"
112+
SPEC_DIR="$base_dir/.cmind"
113113
mkdir -p "$SPEC_DIR"
114114

115115
# Create empty data directory for runtime output
116116
mkdir -p "$SPEC_DIR/data"
117117

118-
[[ -f pyproject.toml ]] && { cp pyproject.toml "$SPEC_DIR/pyproject.toml"; echo "Copied pyproject.toml -> .rpgkit"; }
118+
[[ -f pyproject.toml ]] && { cp pyproject.toml "$SPEC_DIR/pyproject.toml"; echo "Copied pyproject.toml -> .cmind"; }
119119

120-
[[ -d memory ]] && { cp -r memory "$SPEC_DIR/"; echo "Copied memory -> .rpgkit"; }
120+
[[ -d memory ]] && { cp -r memory "$SPEC_DIR/"; echo "Copied memory -> .cmind"; }
121121

122122
# Only copy the relevant script variant directory
123123
if [[ -d scripts ]]; then
124124
mkdir -p "$SPEC_DIR/scripts"
125125
case $script in
126126
sh)
127-
[[ -d scripts/bash ]] && { cp -r scripts/bash "$SPEC_DIR/scripts/"; echo "Copied scripts/bash -> .rpgkit/scripts"; }
127+
[[ -d scripts/bash ]] && { cp -r scripts/bash "$SPEC_DIR/scripts/"; echo "Copied scripts/bash -> .cmind/scripts"; }
128128
# Copy any script files that aren't in variant-specific directories
129129
find scripts -maxdepth 1 -type f -exec cp {} "$SPEC_DIR/scripts/" \; 2>/dev/null || true
130130
;;
131131
ps)
132-
[[ -d scripts/powershell ]] && { cp -r scripts/powershell "$SPEC_DIR/scripts/"; echo "Copied scripts/powershell -> .rpgkit/scripts"; }
132+
[[ -d scripts/powershell ]] && { cp -r scripts/powershell "$SPEC_DIR/scripts/"; echo "Copied scripts/powershell -> .cmind/scripts"; }
133133
# Copy any script files that aren't in variant-specific directories
134134
find scripts -maxdepth 1 -type f -exec cp {} "$SPEC_DIR/scripts/" \; 2>/dev/null || true
135135
;;
@@ -178,9 +178,9 @@ build_variant() {
178178
fi
179179
fi
180180

181-
[[ -d templates ]] && { mkdir -p "$SPEC_DIR/templates"; find templates -type f -not -path "templates/commands/*" -not -name "vscode-settings.json" -exec cp --parents {} "$SPEC_DIR"/ \; ; echo "Copied templates -> .rpgkit/templates"; }
181+
[[ -d templates ]] && { mkdir -p "$SPEC_DIR/templates"; find templates -type f -not -path "templates/commands/*" -not -name "vscode-settings.json" -exec cp --parents {} "$SPEC_DIR"/ \; ; echo "Copied templates -> .cmind/templates"; }
182182

183-
[[ -d utils ]] && { cp -r utils "$SPEC_DIR/"; echo "Copied utils -> .rpgkit/utils"; }
183+
[[ -d utils ]] && { cp -r utils "$SPEC_DIR/"; echo "Copied utils -> .cmind/utils"; }
184184

185185
case $agent in
186186
claude)
@@ -245,8 +245,8 @@ SETTINGS
245245
mkdir -p "$base_dir/.agents/commands"
246246
generate_commands md "$base_dir/.agents/commands" ;;
247247
esac
248-
create_archive "$base_dir" "$GENRELEASES_DIR/rpgkit-template-${agent}-${script}-${NEW_VERSION}.zip"
249-
echo "Created $GENRELEASES_DIR/rpgkit-template-${agent}-${script}-${NEW_VERSION}.zip"
248+
create_archive "$base_dir" "$GENRELEASES_DIR/cmind-template-${agent}-${script}-${NEW_VERSION}.zip"
249+
echo "Created $GENRELEASES_DIR/cmind-template-${agent}-${script}-${NEW_VERSION}.zip"
250250
}
251251

252252
# Determine agent list
@@ -296,5 +296,5 @@ for agent in "${AGENT_LIST[@]}"; do
296296
done
297297

298298
echo "Archives in $GENRELEASES_DIR:"
299-
ls -1 "$GENRELEASES_DIR"/rpgkit-template-*-"${NEW_VERSION}".zip
299+
ls -1 "$GENRELEASES_DIR"/cmind-template-*-"${NEW_VERSION}".zip
300300

.github/workflows/scripts/rpgkit/generate-release-notes.sh renamed to .github/workflows/scripts/cmind/generate-release-notes.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ NEW_VERSION="$1"
1010
LAST_TAG="$2"
1111
RELEASE_KIND="${3:-stable}"
1212
REPO_ROOT="${GITHUB_WORKSPACE:-$(git rev-parse --show-toplevel)}"
13-
PROJECT_DIR="${PROJECT_DIR:-RPG-Kit}"
13+
PROJECT_DIR="${PROJECT_DIR:-CoderMind}"
1414
NOTES_FILE="${NOTES_FILE:-$REPO_ROOT/release_notes.md}"
1515

1616
if git rev-parse -q --verify "refs/tags/$LAST_TAG" >/dev/null; then
@@ -19,21 +19,21 @@ else
1919
COMMITS=$(git log --oneline --pretty=format:"- %s" HEAD -- "$PROJECT_DIR" | head -n 10 || true)
2020
fi
2121

22-
COMMITS="${COMMITS:-No RPG-Kit changes found.}"
22+
COMMITS="${COMMITS:-No CoderMind changes found.}"
2323

2424
if [[ "$RELEASE_KIND" == "pre" ]]; then
2525
BRANCH="${GITHUB_REF_NAME:-unknown}"
2626
cat > "$NOTES_FILE" << EOF
2727
> **This is a development pre-release from the \`$BRANCH\` branch.**
28-
> It is intended for testing purposes only. For stable releases, use \`rpgkit init\` without \`--pre\`.
28+
> It is intended for testing purposes only. For stable releases, use \`cmind init\` without \`--pre\`.
2929
3030
## Changelog (since ${LAST_TAG})
3131
3232
$COMMITS
3333
EOF
3434
else
3535
cat > "$NOTES_FILE" << EOF
36-
This is the latest RPG-Kit template release. We recommend using the RPG-Kit CLI to scaffold projects, but the template archives can also be downloaded and managed manually.
36+
This is the latest CoderMind template release. We recommend using the CoderMind CLI to scaffold projects, but the template archives can also be downloaded and managed manually.
3737
3838
## Changelog (since ${LAST_TAG})
3939

0 commit comments

Comments
 (0)