Skill: Release Process
When to Use
Use this skill when preparing a new release or updating the version.
Core Workflow
Update version in
py/visdom/VERSIONfollowing Semantic Versioning.Ensure all CI checks pass:
npm run lint(JavaScript)black py(Python)pre-commit run --all-files- Playwright WebSocket and polling tests pass
Submit PR to
masterwith version change.On merge to
master, automated workflows handle:update-js-build-files.yml: Compilesmain.jsifjs/**changedpypi.yml: Creates GitHub release (v<VERSION>) and publishes to PyPI
Version Details
- Version stored as single-line plaintext in
py/visdom/VERSION setup.pyreads this file at build timebuild.pyuses version to track CDN dependency freshness- PyPI build uses
python setup.py sdist
Guardrails
- Follow Semantic Versioning strictly
- Never manually commit compiled JS files — let the CI workflow handle it
- Ensure
demo.pyruns cleanly before releasing - Do not push directly to
master
Documentation
- Skill reference
py/visdom/VERSIONsetup.py.github/workflows/pypi.yml.github/workflows/update-js-build-files.ymlAGENTS.mdCONTRIBUTING.md
Assets
- See
assets/README.mdand store templates/resources inassets/.
Tests
- Follow the default flow in
references/TESTS.md.