Commit 90005ef7 authored by Natanael Copa's avatar Natanael Copa

main/setup-apkrepos: use edge repo for *_alpha* releases

parent 8201bede
......@@ -95,7 +95,7 @@ add_from_list() {
get_alpine_release() {
local version=$(cat /etc/alpine-release 2>/dev/null)
case "$version" in
*_git*) release="edge";;
*_git*|*_alpha*) release="edge";;
[0-9]*.[0-9]*.[0-9]*)
# release in x.y.z format, cut last digit
release=v${version%.[0-9]*};;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment