Skip to content

Commit 6342bb2

Browse files
committed
Exclude latest tags
1 parent 22bcecd commit 6342bb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/elixir/scripts/docs_config.exs

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ skipped = Version.parse!("1.0.3")
77
list_contents =
88
for(
99
"v" <> rest <- String.split(text_tags),
10+
not String.ends_with?(rest, "-latest"),
1011
version = Version.parse!(rest),
1112
Version.compare(version, skipped) == :gt,
1213
do: version

0 commit comments

Comments
 (0)