Skip to content

[BC] simplified et secured releasing workflow - #546

Merged
Halleck45 merged 1 commit into
masterfrom
stop_rlease_master
Aug 9, 2026
Merged

[BC] simplified et secured releasing workflow#546
Halleck45 merged 1 commit into
masterfrom
stop_rlease_master

Conversation

@Halleck45

Copy link
Copy Markdown
Collaborator

For over 10 years, this repo has committed built release artifacts (phar, binaries, .deb) directly to master on every release. This bloats the repository and, worse, forced a bypass of master's branch protection, an attack surface that could let compromised artifacts be pushed under the guise of a routine release.

GitHub Releases have existed since 2017 on this repo, giving users nearly a decade to adopt them. They're a safer distribution channel: they support proper checksums, and GitHub flags malicious overwrites of published releases. Keeping the old commit-to-master path added no benefit and only complicated the build process.

For these reasons, this PR drops pushing release artifacts to master entirely.

Change

Only the release tag is pushed now; the version-bump commit still exists but is reachable solely via the tag, no master push, no bypass needed. CURRENT_TAG switched from git describe --tags (ancestry-based) to a version-sorted git tag lookup, and the Debian changelog range from ... to .., since the tag commit is no longer guaranteed to be an ancestor of master.

Impact

Releases no longer touch master. Published artifacts are unchanged; only their distribution channel (GitHub Releases exclusively) and integrity guarantees improve.

@Halleck45 Halleck45 changed the title simplified releasing workflow [BC] simplified et secured releasing workflow Aug 9, 2026
@Halleck45
Halleck45 merged commit d47d3ce into master Aug 9, 2026
12 checks passed
@Halleck45
Halleck45 deleted the stop_rlease_master branch August 9, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant