Skip to content
Back to skills

Bump Version 1

ASecurity

Bump the version of the zenoh-ros2-sdk package across all configuration files. Use when the user asks to update, bump, or change the package version, or when preparing a new release.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
toolspythonbashgit

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill bump-version-1 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bump Version 1?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bump Version 1
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-bump-version-1/badge)](https://www.skillsdirectory.com/skills/david-li0406-bump-version-1)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bump-version
description: Bump the version of the zenoh-ros2-sdk package across all configuration files. Use when the user asks to update, bump, or change the package version, or when preparing a new release.
---

# Bump Version

This skill guides you through upgrading the version number of the `zenoh-ros2-sdk` package.

## When to Use

- User asks to "bump", "update", or "change" the version
- Preparing a new release (major, minor, or patch)
- Version numbers are out of sync across config files

## 1. Determine the New Version

Decide whether this is a Major, Minor, or Patch release.
- **Current Version**: Check `pyproject.toml` or `zenoh_ros2_sdk/__init__.py`.
- **Example**: `0.1.2` -> `0.1.3` (Patch)

## 2. Update Files

You must update the version string in the following **3 files**. Ensure they all match exactly.

### A. `pyproject.toml`
Update the `version` field under `[project]`:
```toml
[project]
name = "zenoh-ros2-sdk"
version = "0.1.3"  # <--- Update this
```

### B. `zenoh_ros2_sdk/__init__.py`
Update the `__version__` variable:
```python
__version__ = "0.1.3"  # <--- Update this
```

### C. `setup.py`
Update the `version` argument in the `setup()` call:
```python
setup(
    name="zenoh-ros2-sdk",
    version="0.1.3",  # <--- Update this
    # ...
)
```

## 3. Verify Changes

Run the following command to verify consistency:
```bash
python3 setup.py --version
```
The output **must** match your new version.

## 4. Commit Changes

Commit the changes with a standard message:
```bash
git add pyproject.toml setup.py zenoh_ros2_sdk/__init__.py
git commit -m "bump(version): update version to 0.1.3"
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…