Skip to content

Commit

Permalink
[backend] vagrant publish: also treat "Snapshot" as valid release prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed May 20, 2019
1 parent 0627ae2 commit ff0bd7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_publish
Expand Up @@ -1103,7 +1103,7 @@ sub createrepo_vagrant {
next unless $xbox =~ s/\.vagrant\.([^\.]+)\.box//;
my $provider = $1;
# split off release
next unless $xbox =~ s/-Build([^-]*)$//;
next unless $xbox =~ s/-(?:Build|Snapshot)([^-]*)$//;
my $release = $1;
if (!$withversion) {
# split off profile
Expand Down

0 comments on commit ff0bd7b

Please sign in to comment.