Skip to main content

deploy

Generate a commit message, commit all changes, run deploy_pip.ps1 to publish to PyPI, and tag HEAD with the deployed version on success

설치로 이동

소스 정보

저장소
vb2250158/ok-NIKKE
최근 소스 활동
2026년 4월 9일 14:19
감지된 SKILL.md 언어
영어
스타
1
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
deploy
description
Generate a commit message, commit all changes, run deploy_pip.ps1 to publish to PyPI, and tag HEAD with the deployed version on success
# Deploy to PyPI When instructed to deploy, release, or publish to PyPI, follow these steps **in order**: ## 1. Check for uncommitted changes and commit if necessary // turbo ```powershell git status --short ``` If there are uncommitted changes: 1. Run `git diff --stat` and `git diff` to review them. // turbo ```powershell git diff --stat ``` // turbo ```powershell git diff ``` 2. Write a concise, descriptive commit message summarizing **only these uncommitted changes**. 3. Stage and commit: // turbo ```powershell git add -A ``` // turbo ```powershell git commit -m "<generated commit message>" ``` If there are NO uncommitted changes, proceed directly to Step 2. ## 2. Run the deploy script using the virtual environment // turbo ```powershell .\.venv\Scripts\Activate.ps1; powershell -File ".\deploy_pip.ps1" ``` Wait for this to complete. **If the command fails (non-zero exit code or error output), STOP here and report the error to the user. Do NOT tag.** ## 3. Determine the deployed version The deploy script calls `setup.py`, which increments the version. The version is printed in the output from `setup.py` as: ``` latest_version is X.Y.Z new version is X.Y.W ``` Search for "new version is" in the terminal output to find the exact version number (e.g., `1.0.98`). ## 4. Tag HEAD with the deployed version // turbo ```powershell git tag v<version> ``` Replace `<version>` with the version obtained in step 3 (e.g. `1.0.97`). ## 5. Push commit and tag // turbo ```powershell git push ``` // turbo ```powershell git push --tags ``` ## 6. Report Tell the user: - The commit message used (if any) - The deployed version number - That the tag has been pushed
GitHub에서 보기