Alacritty: Ignore rc version of .deb file
This commit is contained in:
parent
a63675f4b9
commit
e69f5b087a
|
@ -55,7 +55,7 @@ else
|
||||||
alacritty_current_version=$(dpkg -l alacritty | awk '/^ii.*alacritty/ {print $3}' | sed 's/.:\(.*\)-.*/\1/')
|
alacritty_current_version=$(dpkg -l alacritty | awk '/^ii.*alacritty/ {print $3}' | sed 's/.:\(.*\)-.*/\1/')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alacritty_new_version=$("${script_wd}"/releasetags "${alacritty_repo_url}" | head -n1 | sed 's/v//g')
|
alacritty_new_version=$("${script_wd}"/releasetags "${alacritty_repo_url}" | grep -vE -- '(dev|rc)' | head -n1 | sed 's/v//g')
|
||||||
|
|
||||||
alacritty_new_version_file="/tmp/.github.alacritty.upgrade"
|
alacritty_new_version_file="/tmp/.github.alacritty.upgrade"
|
||||||
alacritty_new_pkg_url="${alacritty_repo_url}/releases/download/v${alacritty_new_version}/alacritty_${alacritty_new_version}_amd64_unstable.deb"
|
alacritty_new_pkg_url="${alacritty_repo_url}/releases/download/v${alacritty_new_version}/alacritty_${alacritty_new_version}_amd64_unstable.deb"
|
||||||
|
|
Loading…
Reference in New Issue