Skip to content

Commit

Permalink
Merge pull request #418 from daniel-beck/INFRA-2615-deprecate-fixed-t…
Browse files Browse the repository at this point in the history
…iers

[INFRA-2615] Deprecate fixed tiers, don't generate for 2.249.x+
  • Loading branch information
daniel-beck authored Aug 28, 2020
2 parents 669ab60 + 41bac57 commit 4a421f2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions site/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ done
# Workaround for https://github.com/jenkinsci/docker/issues/954 -- still generate fixed tier update sites
for ltsv in "${RELEASES[@]}" ; do
v="${ltsv/%.1/}"

if [[ ${v/./} -gt 2240 ]] ; then # TODO Make 3.x safe
echo "INFRA-2615: Skipping generation of $v / stable-$v"
continue
fi

# For mainline up to $v, advertising the latest core
generate --limit-plugin-core-dependency "$v.999" --write-latest-core --latest-links-directory "$WWW_ROOT_DIR/$v/latest" --www-dir "$WWW_ROOT_DIR/$v"

Expand Down

0 comments on commit 4a421f2

Please sign in to comment.