25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix clone code in update-deps-release

This commit is contained in:
Paweł Chmielowski 2017-06-28 16:47:31 +02:00
parent e42bb47ce3
commit 9dd03c873c

View File

@ -56,7 +56,7 @@ sub update_deps_repos {
if (not -d $dd) {
say "Downloading $dep...";
my $repo = $deps->{$dep}->{repo};
$repo =~ s!^https?://github/!git\@github.com:!;
$repo =~ s!^https?://github.com/!git\@github.com:!;
system("git", "-C", ".deps-update", "clone", $repo);
} elsif (time() - stat($dd)->mtime > 24 * 60 * 60) {
say "Updating $dep...";
@ -407,7 +407,6 @@ while (1) {
$top_changes{$op->{dep}} = $op->{version};
}
update_deps_versions("rebar.config", %top_changes);
for my $op (@operations) {
if ($git_info->{$op->{dep}}->{last_tag} ne $op->{version}) {
git_push($op->{dep});