Files
vnidrop/packaging/version

Application versioning

version.properties at the repository root is the single source of truth for the VniDrop product version and persistent store counters. Platform projects and release workflows use the version resolver rather than accepting independent version overrides.

Keep it as plain KEY=VALUE assignments: the same file is parsed by shell, PowerShell, Gradle, and Rust. Xcode receives resolver-generated xcconfig files.

The product uses numeric semantic versions. While the app is in beta, feature releases increment the minor component (0.2.0, 0.3.0) and fixes increment the patch component (0.2.1). Release channels belong in RELEASE_CHANNEL; they are not appended to store version fields.

Platform Product version Platform build/package version
Android PRODUCT_VERSION ANDROID_VERSION_CODE
Apple Store PRODUCT_VERSION Derived UTC YYYYMMDD.HHMM.SS
Direct macOS PRODUCT_VERSION Independently derived UTC YYYYMMDD.HHMM.SS
Linux PRODUCT_VERSION Native package revision
Rust handshake PRODUCT_VERSION Rust crate version remains independent
Microsoft Store PRODUCT_VERSION in the app Derived MSIX dot-quad

MSIX requires a non-zero first component and reserves the fourth component for the Store. Its version is:

(product major + WINDOWS_VERSION_EPOCH).product minor.product patch.0

With epoch 1, product 0.2.0 maps to MSIX 1.2.0.0, while product 1.0.0 maps to 2.0.0.0. Do not change the epoch after publishing.

Every Android upload must increment ANDROID_VERSION_CODE. Apple build numbers are derived at build time by apple-store-build and apple-direct-build; they are kept as separate resolver outputs so App Store and Sparkle releases do not consume each other's cadence. Every changed Windows Store package must increment the product version because the Store-reserved fourth component cannot carry a rebuild number.

Apple projects read generated build settings rather than version.properties directly:

packaging/version/generate-apple-xcconfig.sh all

The generated files under apple/Generated/ are intentionally ignored. VNIDROP_BUILD_TIME_UTC=YYYYMMDDHHMMSS provides a deterministic clock for tests; distribution builds normally use the current UTC time.

Before releasing:

make check-version

Release tags must exactly match vPRODUCT_VERSION. Manual workflow dispatches also build the committed version and do not accept free-form version inputs.