mirror of
https://github.com/Cheviiot/Nivora.git
synced 2026-08-03 15:51:12 +00:00
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.
14 lines
472 B
Bash
Executable File
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"
|