Skip to content

.github: prepare releases with annotated tags - #78

Open
ozan956 wants to merge 1 commit into
mainfrom
prepare-release-job
Open

ozan956 wants to merge 1 commit into
mainfrom
prepare-release-job

Conversation

@ozan956

@ozan956 ozan956 commented Sep 15, 2026

Copy link
Copy Markdown
Member

Tags created through the GitHub Release UI are lightweight and ignored by the plain git describe invocation used by setlocalversion. This results in an invalid VERSION value in /etc/os-release.

Add a manually dispatched workflow that creates an annotated tag for the selected revision and prepares a draft GitHub Release from that tag. The draft can then be reviewed and published to trigger the existing release builds.

Validate published release tags before starting those builds to prevent artifacts from being generated from lightweight tags.

Fixes: #77

Tags created through the GitHub Release UI are lightweight and ignored by
the plain git describe invocation used by setlocalversion. This results in
an invalid VERSION value in /etc/os-release.

Add a manually dispatched workflow that creates an annotated tag for the
selected revision and prepares a draft GitHub Release from that tag. The
draft can then be reviewed and published to trigger the existing release
builds.

Validate published release tags before starting those builds to prevent
artifacts from being generated from lightweight tags.

Fixes: #77
Signed-off-by: Ozan Durgut <ozan.durgut@analog.com>
@ozan956
ozan956 requested a review from pamolloy September 15, 2026 11:02
@ozan956 ozan956 self-assigned this Sep 15, 2026
@ozan956
ozan956 marked this pull request as ready for review September 15, 2026 11:02

This branch has not been deployed

No deployments
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.

/etc/os-release contains invalid VERSION

1 participant