Skip to content

Commit 4fa0e26

Browse files
authored
Add new flavours of Ubuntu to CI
1 parent 75be112 commit 4fa0e26

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/CI.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,21 @@ jobs:
9696
git clone https://github.com/t2linux/wiki.git
9797
cd wiki/docs/tools
9898
99-
for i in ubuntu kubuntu
99+
for i in ubuntu kubuntu ubuntu-budgie ubuntucinnamon ubuntu-mate xubuntu
100100
do
101101
j=${i}-25.10
102102
wget https://github.com/t2linux/T2-Ubuntu/releases/download/v${{ env.isotag }}/sha256-${j}
103103
SHA256=$(cat ./sha256-${j} | cut -d " " -f 1)
104104
rm sha256-${j}
105-
CAPS=$(echo "${i}" | tr '_-' ' ' | awk '{for(i=1;i<=NF;i++) $i=toupper(substr($i,1,1)) substr($i,2); print}')
105+
if [ "$i" = "ubuntucinnamon" ]; then
106+
CAPS="Ubuntu Cinnamon"
107+
elif [ "$FLAVOUR" = "ubuntu-mate" ]; then
108+
CAPS="Ubuntu MATE"
109+
elif [ "$FLAVOUR" = "ubuntukylin" ]; then
110+
CAPS="Ubuntu Kylin"
111+
else
112+
CAPS=$(echo "${i}" | tr '_-' ' ' | awk '{for(i=1;i<=NF;i++) $i=toupper(substr($i,1,1)) substr($i,2); print}')
113+
fi
106114
cat << EOF > update.py
107115
import json
108116
# Define the new links

0 commit comments

Comments
 (0)