Skip to content

Commit

Permalink
try to fix supported versions
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com>
  • Loading branch information
alexandreLamarre committed Apr 22, 2024
1 parent 8070c63 commit a416869
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@ name: Backup Restore CI

on:
push:
branches:
- 'release/v5.0'
paths-ignore:
- 'docs/**'
- '*.md'
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
pull_request:
branches:
- 'release/v5.0'
paths-ignore:
- 'docs/**'
- '*.md'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scripts/supported-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ set -x
# Prints supported versions based on the current release branch targeted
# Version output is in JSON

if git merge-base --is-ancestor release/v5.0 HEAD
if git merge-base --is-ancestor origin/release/v5.0 HEAD
then
echo "[\"v1.23.9-k3s1\", \"v1.29.3-k3s1\"]"
exit 0
elif git merge-base --is-ancestor release/v4.0 HEAD
elif git merge-base --is-ancestor origin/release/v4.0 HEAD
then
echo "[\"v1.23.9-k3s1\", \"v1.28.8-k3s1\"]"
exit 0
elif git merge-base --is-ancestor release/v3.0 HEAD
elif git merge-base --is-ancestor origin/release/v3.0 HEAD
then
echo "[\"v1.16.9-k3s1\", \"v1.27.9-k3s1\"]"
exit 0
Expand Down

0 comments on commit a416869

Please sign in to comment.