Created
November 27, 2017 12:32
-
-
Save hennevogel/627b774a9c199811861d273ab440b7d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
our $publish_whatever = '/usr/local/bin/publish_to_whatever'; | |
our $publishedhook = { | |
}; | |
{ | |
my @all_dists = qw(openSUSE_Tumbleweed SLE12-SP3); | |
foreach my $repo (qw(some:project some:other:project)) { | |
foreach my $dist (@all_dists) { | |
$publishedhook->{$repo.'/'.$dist} = $publish_whatever; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment