Skip to content

Commit

Permalink
get-template-library: exclude all versions before 23.x
Browse files Browse the repository at this point in the history
- Also add --all-versions to download all the available versions
  • Loading branch information
jouvin committed Nov 5, 2024
1 parent 082b1f1 commit 05b7b3c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/scripts/get-template-library
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ monitoring_dest_dir=standard/monitoring
# If a branch name matches one of the pattern, it will be ignored
# HEAD added to workaround a bug in the release procedure when producing 14.5
ignore_branch_patterns='\.obsolete$ ^HEAD$'
ignore_version_patterns='13.1.[1-3] 13.[2-9] 13.12 14.[2-8]'
ignore_version_patterns='^1[0-9]\..* ^2[0-2]\.*'
template_lib_root=${TMPDIR:-/tmp}/quattor-template-library
git_clone_root=${template_lib_root}/.gitrepos
list_branches=0
Expand All @@ -85,6 +85,7 @@ usage () {
echo ""
echo " Valid options are:"
echo ""
echo " --all-versions: download all available versions"
echo " --continuous-integration: use working copy contents instead of the GitHub repository"
echo " -d template_library_root: directory where to create the template library."
echo " (D: ${template_lib_root})"
Expand Down Expand Up @@ -146,6 +147,10 @@ do
usage
;;

--all-versions)
ignore_version_patterns="non existing version pattern"
;;

--pull-request)
shift
pull_request=$1
Expand Down

0 comments on commit 05b7b3c

Please sign in to comment.