Skip to content

Commit d7571ed

Browse files
authored
Merge pull request #359 from jouvin/update_ignore_version_patterns
get-template-library: exclude all versions before 23.x
2 parents 082b1f1 + 05b7b3c commit d7571ed

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/scripts/get-template-library

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ monitoring_dest_dir=standard/monitoring
7070
# If a branch name matches one of the pattern, it will be ignored
7171
# HEAD added to workaround a bug in the release procedure when producing 14.5
7272
ignore_branch_patterns='\.obsolete$ ^HEAD$'
73-
ignore_version_patterns='13.1.[1-3] 13.[2-9] 13.12 14.[2-8]'
73+
ignore_version_patterns='^1[0-9]\..* ^2[0-2]\.*'
7474
template_lib_root=${TMPDIR:-/tmp}/quattor-template-library
7575
git_clone_root=${template_lib_root}/.gitrepos
7676
list_branches=0
@@ -85,6 +85,7 @@ usage () {
8585
echo ""
8686
echo " Valid options are:"
8787
echo ""
88+
echo " --all-versions: download all available versions"
8889
echo " --continuous-integration: use working copy contents instead of the GitHub repository"
8990
echo " -d template_library_root: directory where to create the template library."
9091
echo " (D: ${template_lib_root})"
@@ -146,6 +147,10 @@ do
146147
usage
147148
;;
148149

150+
--all-versions)
151+
ignore_version_patterns="non existing version pattern"
152+
;;
153+
149154
--pull-request)
150155
shift
151156
pull_request=$1

0 commit comments

Comments
 (0)