Skip to content

Instantly share code, notes, and snippets.

@hennevogel
Created November 27, 2017 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hennevogel/627b774a9c199811861d273ab440b7d8 to your computer and use it in GitHub Desktop.
Save hennevogel/627b774a9c199811861d273ab440b7d8 to your computer and use it in GitHub Desktop.
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