Files
Nivora/anidesk/.stapler/update-run
T
Александр f405ae2bcf feat: create autonomous Nivora package repository
Maintain a validated cross-distribution package catalog.
Automate upstream updates, isolated builds, diagnostics, and direct publication.
Build the official GitHub Desktop sources for Linux with working OAuth.
2026-07-25 00:49:32 +10:00

14 lines
472 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
new_version="${1:?new version is required}"
package_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
staplerfile="${package_dir}/Staplerfile"
debian_version="${new_version/-beta./.beta.}"
stplr-spec set-field --path "$staplerfile" version "$new_version"
stplr-spec set-field --path "$staplerfile" release 1
stplr-spec set-field --path "$staplerfile" debian_version "$debian_version"
stplr-spec update-checksums --path "$staplerfile"