Skip to content

Commit

Permalink
Release: Change upload host name to service name.
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhayen committed Feb 2, 2022
1 parent 0cad348 commit f5d6d8a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions misc/make-upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@

assert (
os.system(
"rsync -rvlpt --exclude=deb_dist dist/ [email protected]:/var/www/releases/"
"rsync -rvlpt --exclude=deb_dist dist/ root@ssh.nuitka.net:/var/www/releases/"
)
== 0
)

for filename in ("README.pdf", "Changelog.pdf", "Developer_Manual.pdf"):
assert os.system("rsync %s [email protected]:/var/www/doc/" % filename) == 0
assert os.system("rsync %s root@ssh.nuitka.net:/var/www/doc/" % filename) == 0

# Upload only stable and develop releases to OpenSUSE Build Service:
if branch_name.startswith("release") or branch_name == "main":
Expand Down
2 changes: 1 addition & 1 deletion nuitka/tools/quality/apidoc/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def main():
if options.upload:
assert (
os.system(
"rsync -avz --delete html/ --chown www-data [email protected]:/var/www/apidoc/"
"rsync -avz --delete html/ --chown www-data root@ssh.nuitka.net:/var/www/apidoc/"
)
== 0
)
Expand Down
4 changes: 2 additions & 2 deletions nuitka/tools/release/debian/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,15 @@ def main():
# build only.
assert (
os.system(
"ssh [email protected] mkdir -p /var/www/deb/%s/%s/" % (category, codename)
"ssh root@ssh.nuitka.net mkdir -p /var/www/deb/%s/%s/" % (category, codename)
)
== 0
)

# Update the repository on the web site.
assert (
os.system(
"rsync -avz --delete dists pool --chown www-data [email protected]:/var/www/deb/%s/%s/"
"rsync -avz --delete dists pool --chown www-data root@ssh.nuitka.net:/var/www/deb/%s/%s/"
% (category, codename)
)
== 0
Expand Down
2 changes: 1 addition & 1 deletion nuitka/tools/release/msi_upload/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def main():
(
"scp",
msi_filename,
"[email protected]:/var/www/releases/" + os.path.basename(msi_filename),
"git@ssh.nuitka.net:/var/www/releases/" + os.path.basename(msi_filename),
),
shell=True, # scan scp in PATH.
)
Expand Down

0 comments on commit f5d6d8a

Please sign in to comment.