Try using chomp instead of chop in the uploader

This commit is contained in:
Nikolai Rodionov 2023-04-26 07:07:54 +02:00
parent add04f888b
commit 7545d28790
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

@ -9,8 +9,8 @@ my $main_bucket = "badhouseplants-minio:/badhouseplants-net-main";
# -- I'm doing all of it because I can't undestand
# -- how not to send 300Mb to the buildah context
# --------------------------------------------------
chop($git_branch);
chop($git_commit_sha);
chomp($git_branch);
chomp($git_commit_sha);
print `cp -r . /tmp/$git_commit_sha` or die;