Alacritty: Ignore rc version of .deb file

This commit is contained in:
Jeremy Gardais 2022-01-24 09:25:30 +01:00
parent a63675f4b9
commit e69f5b087a
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ else
alacritty_current_version=$(dpkg -l alacritty | awk '/^ii.*alacritty/ {print $3}' | sed 's/.:\(.*\)-.*/\1/')
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_pkg_url="${alacritty_repo_url}/releases/download/v${alacritty_new_version}/alacritty_${alacritty_new_version}_amd64_unstable.deb"