mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-10-15 14:00:00 +00:00
debian: Change weekly versioning scheme
Right now our weekly Debian versioning scheme is VERSION="$BASE_VERSION~git$DATE.$SHA-$CLEAN_COMPONENT". This sorts weekly releases AFTER the BASE_VERSION, so when both stable and unstable are enabled, we never get weekly versions installed. https://wiki.debian.org/Versioning proposes {upcoming_version}~git{date}.{hash}-{revision} for nightly releases, which means we would have to know the release number of the upcoming version in advance. I don't think that is useful for us. By switching from a tilde to a dash, our weekly versions are not sorted above the stable base version and we will install the weekly versions over the base version, which I believe is closer to what we intend. Fixes: https://forgejo.ellis.link/continuwuation/continuwuity/issues/2081
This commit is contained in:
committed by
Ellis Git
parent
dac940784d
commit
b4a2a457a1
@@ -144,7 +144,7 @@ jobs:
|
||||
COMPONENT="dev-$(echo '${{ forge.ref_name }}' | sed 's/[^a-zA-Z0-9.+]/-/g' | tr '[:upper:]' '[:lower:]' | cut -c1-30)"
|
||||
fi
|
||||
CLEAN_COMPONENT=$(echo $COMPONENT | sed 's/[^a-zA-Z0-9.+]/~/g')
|
||||
VERSION="$BASE_VERSION~git$DATE.$SHA-$CLEAN_COMPONENT"
|
||||
VERSION="$BASE_VERSION-git$DATE.$SHA-$CLEAN_COMPONENT"
|
||||
fi
|
||||
echo "component=$COMPONENT" >> $GITHUB_OUTPUT
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user