Commit cb084faf authored by Manuel Cortez's avatar Manuel Cortez

Fixed upload script

parent e3db177d
Pipeline #924 failed with stage
in 3 minutes and 37 seconds
......@@ -68,12 +68,7 @@ alpha32:
- '&$env:PYTHON3_32 scripts/upload.py'
- move socializer_x86_alpha.zip socializer_x86.zip
only:
- schedules
artifacts:
paths:
- socializer_x86.zip
name: socializer_alpha
expire_in: 1 day
- master
# Generates a new stable version of the application every tag.
stable:
......
......@@ -44,6 +44,7 @@ print("Uploading files to the Socializer server...")
connection = ftplib.FTP_TLS(ftp_server)
print("Connected to FTP server {}".format(ftp_server,))
connection.login(user=ftp_username, passwd=ftp_password)
connection.prot_p()
print("Logged in successfully")
connection.cwd("socializer.su/static/files/")
if version not in connection.nlst():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment