Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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