Skip to content

Commit

Permalink
insert 2.0.8 master at the start of supported_versions
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman authored Jul 26, 2023
1 parent e01e91c commit 4118075
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.vsh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ if remotes.exit_code != 0 {
println('git is missing')
exit(1)
}
supported_versions := remotes.output.split_into_lines().map(it.trim_space()).filter(it.starts_with('origin/2')).map(it.all_after('origin/'))
mut supported_versions := remotes.output.split_into_lines().map(it.trim_space()).filter(it.starts_with('origin/2')).map(it.all_after('origin/'))
supported_versions.insert(0, '2.0.8') // master
println('The SDL module officially supports these versions of SDL:\n ${supported_versions}')

if system_version in supported_versions {
Expand Down

0 comments on commit 4118075

Please sign in to comment.