bump-version

decentpaste's avatarfrom decentpaste

Bump version numbers across all DecentPaste config files (package.json, Cargo.toml, tauri.conf.json, downloads.json). Use for version updates without building.

⭐100stars🔀2forks📁View on GitHub🕐Updated Jan 3, 2026

When & Why to Use This Skill

This Claude skill automates the versioning process for DecentPaste projects by synchronizing version numbers across multiple configuration files including package.json, Cargo.toml, and tauri.conf.json. It ensures consistency across different ecosystems (Node.js, Rust, Tauri, and iOS) without requiring a full build, significantly streamlining the release preparation workflow and reducing manual entry errors.

Use Cases

  • 1. Pre-release Versioning: Automatically update all project manifests before a new release to ensure version parity across the frontend, backend, and distribution metadata.
  • 2. Cross-Platform Synchronization: Maintain consistent versioning for Tauri-based applications that span multiple languages and configuration formats (JSON, TOML, PBXPROJ).
  • 3. Metadata Management: Update download links and tag prefixes in distribution files (like downloads.json) to reflect the latest stable version for end-users.
namebump-version
descriptionBump version numbers across all DecentPaste config files (package.json, Cargo.toml, tauri.conf.json, downloads.json). Use for version updates without building.

Bump Version

Update version (x.x.x) across all config files.

Files

File Field
decentpaste-app/package.json "version"
decentpaste-app/src-tauri/Cargo.toml version
decentpaste-app/src-tauri/tauri.conf.json "version"
website/downloads.json version, tag (v-prefix), asset URLs
decentpaste-app/src-tauri/gen/apple/...project.pbxproj MARKETING_VERSION (if iOS project exists)

Workflow

  1. Read current version from tauri.conf.json
  2. Ask new version (validate: ^\d+\.\d+\.\d+$)
  3. Edit all 4 files (replace_all: true for downloads.json URLs)
  4. If gen/apple/ exists, update Share Extension: sed -i '' 's/MARKETING_VERSION = OLD;/MARKETING_VERSION = NEW;/g' ...project.pbxproj
  5. List updated files, remind to commit