File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9191 if [[ "$VERSION" == *"~${CODENAME}"* || "$VERSION" == *"+${CODENAME}"* ]]; then
9292 echo "Version already contains codename suffix, skipping dch."
9393 else
94- # If there's already a ~ in version (like ~pre1), add +codename
95- if [[ "$VERSION" == *"~"* ]]; then
96- dch --local +${CODENAME} --distribution ${CODENAME} "Build for ${CODENAME} "
94+ if [[ ! $GITHUB_REF =~ ^refs/tags/ ]]; then
95+ # Not a tag, so add ~pre<x>
96+ dch --local ~pre${GITHUB_RUN_NUMBER} +${CODENAME} --distribution ${CODENAME} "Pre-release build "
9797 else
9898 dch --local ~${CODENAME} --distribution ${CODENAME} "Build for ${CODENAME}"
9999 fi
Original file line number Diff line number Diff line change 1+ libosal (0.1.1) unstable; urgency=low
2+
3+ * prep: github debian build action
4+
5+ -- Robert Burger <robert.burger@dlr.de> Tue, 05 Aug 2025 07:07:08 +0200
6+
17libosal (0.1.0) unstable; urgency=low
28
39 * del: old project props
You can’t perform that action at this time.
0 commit comments