projectops 4.28.3 → 4.28.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  > 이슈 등록부터 커밋, 보고서, 배포까지. 개발자는 코드만 작성하세요.
8
8
 
9
9
  <!-- AUTO-VERSION-SECTION: DO NOT EDIT MANUALLY -->
10
- ## 최신 버전 : v4.28.2 (2026-10-01)
10
+ ## 최신 버전 : v4.28.3 (2026-10-01)
11
11
 
12
12
  [전체 버전 기록 보기](CHANGELOG.md)
13
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectops",
3
- "version": "4.28.3",
3
+ "version": "4.28.4",
4
4
  "description": "ProjectOps — 완전 자동화 GitHub 프로젝트 관리 템플릿 통합 CLI",
5
5
  "keywords": [
6
6
  "devops",
@@ -6,7 +6,7 @@ import { join, basename } from "node:path";
6
6
  import { existsSync, readFileSync, writeFileSync, renameSync } from "node:fs";
7
7
  import { PATHS } from "../paths.js";
8
8
  import { exists, copyFileSync, listYamlFiles } from "../fsutil.js";
9
- import { isUnchanged, substituteEnv } from "../wizard-env.js";
9
+ import { isUnchanged, substituteEnv, resolveGlobalTokens } from "../wizard-env.js";
10
10
  import { isUserModified, readBaseline, writeBaseline, sha256 } from "../baseline.js";
11
11
  import { substituteBranches } from "../branch-sub.js";
12
12
  import { saveIncoming, lineDiffCounts } from "../incoming.js";
@@ -221,6 +221,11 @@ export function copyWorkflows(context, tempDir, targetRoot = ".", hooks = {}) {
221
221
  const dst = join(workflowsDir, filename);
222
222
  if (existsSync(dst)) continue; // 이미 존재하면 스킵
223
223
  copyFileSync(join(secretDir, filename), dst);
224
+ // PROJECT_NAME 이 고정값이면 모든 프로젝트가 서버의 같은 폴더에 Secret 을 덮어쓴다 (#729) —
225
+ // 다른 배포 워크플로처럼 레포 이름으로 채운다. 이름을 알 수 없으면 기존 기본값을 쓴다.
226
+ const raw = readFileSync(dst, "utf8");
227
+ const filled = resolveGlobalTokens(raw, repoName || "my-project");
228
+ if (filled !== raw) writeFileSync(dst, filled);
224
229
  counters.optionalCopied++;
225
230
  counters.copied++;
226
231
  counters.copiedFiles.push(filename);