mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-02 21:17:12 +02:00
Fix clone code in update-deps-release
This commit is contained in:
parent
e42bb47ce3
commit
9dd03c873c
|
@ -56,7 +56,7 @@ sub update_deps_repos {
|
||||||
if (not -d $dd) {
|
if (not -d $dd) {
|
||||||
say "Downloading $dep...";
|
say "Downloading $dep...";
|
||||||
my $repo = $deps->{$dep}->{repo};
|
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);
|
system("git", "-C", ".deps-update", "clone", $repo);
|
||||||
} elsif (time() - stat($dd)->mtime > 24 * 60 * 60) {
|
} elsif (time() - stat($dd)->mtime > 24 * 60 * 60) {
|
||||||
say "Updating $dep...";
|
say "Updating $dep...";
|
||||||
|
@ -407,7 +407,6 @@ while (1) {
|
||||||
$top_changes{$op->{dep}} = $op->{version};
|
$top_changes{$op->{dep}} = $op->{version};
|
||||||
}
|
}
|
||||||
update_deps_versions("rebar.config", %top_changes);
|
update_deps_versions("rebar.config", %top_changes);
|
||||||
|
|
||||||
for my $op (@operations) {
|
for my $op (@operations) {
|
||||||
if ($git_info->{$op->{dep}}->{last_tag} ne $op->{version}) {
|
if ($git_info->{$op->{dep}}->{last_tag} ne $op->{version}) {
|
||||||
git_push($op->{dep});
|
git_push($op->{dep});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user