mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
ci-auto-update: ignore release candidates
This commit is contained in:
parent
8a4bf31a71
commit
7a79adf12e
1 changed files with 4 additions and 0 deletions
4
.github/workflows/updater.sh
vendored
4
.github/workflows/updater.sh
vendored
|
@ -41,6 +41,10 @@ echo "PROCEED=false" >> "$GITHUB_ENV"
|
|||
if ! dpkg --compare-versions "$current_version" "lt" "$version" ; then
|
||||
echo "::warning ::No new version available"
|
||||
exit 0
|
||||
# Proceed only if the retrieved version is not a release candidate
|
||||
elif [[ "$version" == *"rc"* ]] ; then
|
||||
echo "::warning ::No new version available"
|
||||
exit 0
|
||||
# Proceed only if a PR for this new version does not already exist
|
||||
elif git ls-remote -q --exit-code --heads https://github.com/"$GITHUB_REPOSITORY".git ci-auto-update-v"$version" ; then
|
||||
echo "::warning ::A branch already exists for this update"
|
||||
|
|
Loading…
Reference in a new issue