Map main branch to snapshot URL

This commit is contained in:
Blerim Sheqa 2024-02-02 10:04:18 +01:00
parent 7fc885e31a
commit 0f7575d772
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ puts "== #{project_config['site_name']}"
version = if project_config['project']['latest']
'latest'
elsif project_config['project']['ref'] == 'master'
elsif project_config['project']['ref'] == 'master' or project_config['project']['ref'] == 'main'
'snapshot'
else
project_config['project']['ref'].gsub('tags/', '')