Skip to content

Commit

Permalink
add support for newer ubuntu and fedora releases
Browse files Browse the repository at this point in the history
  • Loading branch information
kakwa committed Apr 7, 2021
1 parent 0e5cb8e commit a8bf548
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion common/buildenv/get_dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,17 @@ case $1 in
echo 18.4:ubu:ubuntu-18.4; exit 0;;
cosmic)
echo 18.10:ubu:ubuntu-18.10; exit 0;;

disco)
echo 19.4:ubu:ubuntu-19.4; exit 0;;
eoan)
echo 19.10:ubu:ubuntu-19.10; exit 0;;
focal)
echo 20.4:ubu:ubuntu-20.4; exit 0;;
groovy)
echo 20.10:ubu:ubuntu-20.10; exit 0;;
hirsute)
echo 21.04:ubu:ubuntu-21.04; exit 0;;

# Fedora code names:
fc24)
echo 24:fc:fedora-24; exit 0;;
Expand All @@ -52,6 +62,16 @@ case $1 in
echo 29:fc:fedora-29; exit 0;;
fc30)
echo 30:fc:fedora-30; exit 0;;
fc31)
echo 31:fc:fedora-31; exit 0;;
fc32)
echo 32:fc:fedora-32; exit 0;;
fc33)
echo 33:fc:fedora-33; exit 0;;
fc34)
echo 34:fc:fedora-34; exit 0;;
fc35)
echo 35:fc:fedora-35; exit 0;;

# RHEL/CentOS code names:
el6)
Expand Down

0 comments on commit a8bf548

Please sign in to comment.