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

Ir a la instalación

Datos de origen

Repositorio
vb2250158/ok-NIKKE
Última actividad en el origen
9 de abril de 2026 a las 14:19
Idioma detectado de SKILL.md
inglés
Estrellas
1
Forks
0

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
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
Ver en GitHub