File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,14 +108,53 @@ jobs:
108108 echo "Generating Release file for $DIST..."
109109 cd "dists/$DIST"
110110
111+ # Set Suite, Codename, and Description based on distribution
112+ case "$DIST" in
113+ stable)
114+ SUITE="stable"
115+ CODENAME="stable"
116+ DESCRIPTION="Hat Labs Stable APT Repository"
117+ ;;
118+ unstable)
119+ SUITE="unstable"
120+ CODENAME="unstable"
121+ DESCRIPTION="Hat Labs Unstable APT Repository"
122+ ;;
123+ bookworm-stable)
124+ SUITE="stable"
125+ CODENAME="bookworm"
126+ DESCRIPTION="Hat Labs Bookworm Stable APT Repository"
127+ ;;
128+ bookworm-unstable)
129+ SUITE="unstable"
130+ CODENAME="bookworm"
131+ DESCRIPTION="Hat Labs Bookworm Unstable APT Repository"
132+ ;;
133+ trixie-stable)
134+ SUITE="stable"
135+ CODENAME="trixie"
136+ DESCRIPTION="Hat Labs Trixie Stable APT Repository"
137+ ;;
138+ trixie-unstable)
139+ SUITE="unstable"
140+ CODENAME="trixie"
141+ DESCRIPTION="Hat Labs Trixie Unstable APT Repository"
142+ ;;
143+ *)
144+ SUITE="$DIST"
145+ CODENAME="$DIST"
146+ DESCRIPTION="Hat Labs APT Repository"
147+ ;;
148+ esac
149+
111150 cat > Release <<EOF
112151Origin : Hat Labs
113152Label : Hat Labs
114- Suite : $DIST
115- Codename : $DIST
153+ Suite : $SUITE
154+ Codename : $CODENAME
116155Architectures : arm64 all
117156Components : main
118- Description : Hat Labs APT Repository
157+ Description : $DESCRIPTION
119158Date : $(date -Ru)
120159EOF
121160
You can’t perform that action at this time.
0 commit comments