[PR #579] [MERGED] Properly update version of Debian package #608

Closed
opened 2026-02-28 14:33:37 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jpochyla/psst/pull/579
Author: @Self-Perfection
Created: 1/13/2025
Status: Merged
Merged: 1/30/2025
Merged by: @jacksongoode

Base: mainHead: update_deb_version


📝 Commits (1)

  • dd7e495 Properly update version of Debian package

📊 Changes

2 files changed (+11 additions, -10 deletions)

View changed files

📝 .github/workflows/build.yml (+8 -7)
📝 .pkg/DEBIAN/control (+3 -3)

📄 Description

Include branch name in Debian package version

Sanitize branch name by Debian version policy:
https://www.debian.org/doc/debian-policy/ch-controlfields.html#version


This scratches my itch. Before this change all Debian packages were built with version 0.1.0. That prevented simple upgrades from package manager, as it refused to replace existing installation with the same version.

With this change packages built from main branch will have version like 0.1.0+r571-0


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jpochyla/psst/pull/579 **Author:** [@Self-Perfection](https://github.com/Self-Perfection) **Created:** 1/13/2025 **Status:** ✅ Merged **Merged:** 1/30/2025 **Merged by:** [@jacksongoode](https://github.com/jacksongoode) **Base:** `main` ← **Head:** `update_deb_version` --- ### 📝 Commits (1) - [`dd7e495`](https://github.com/jpochyla/psst/commit/dd7e495b744d4d8a94ad485aa94b715c2c542406) Properly update version of Debian package ### 📊 Changes **2 files changed** (+11 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+8 -7) 📝 `.pkg/DEBIAN/control` (+3 -3) </details> ### 📄 Description Include branch name in Debian package version Sanitize branch name by Debian version policy: https://www.debian.org/doc/debian-policy/ch-controlfields.html#version --- This scratches my itch. Before this change all Debian packages were built with version 0.1.0. That prevented simple upgrades from package manager, as it refused to replace existing installation with the same version. With this change packages built from main branch will have version like `0.1.0+r571-0` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:33:37 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#608
No description provided.