Commit Graph

28 Commits

Author SHA1 Message Date
Isaac Bennetch
0076bf8636 Update upload script for new hostname
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-02-20 23:38:29 -05:00
Michal Čihař
e4f85624f8 Revert "Remove creating of sha1 for releases"
This reverts commit c768d12a1d.

The sha1 seems to be necessary for composer now.
2017-03-21 11:34:02 +01:00
Michal Čihař
c768d12a1d Remove creating of sha1 for releases
As there is now way to generate collisions (and tar happily ignores
additional payload), using sha1 probably no longer makes sense here.

See https://github.com/phpmyadmin/website/issues/59

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-21 11:29:57 +01:00
Michal Čihař
b0eb82839b Add source to upload release script
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:43:09 +01:00
Michal Čihař
9dc5cccc1b Remove 7z download option
It does compress worse than tar.xz and experienced users won't have
problems using either of these.

See https://github.com/phpmyadmin/phpmyadmin/issues/12348

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:05:37 +01:00
Michal Čihař
b6b3adf08e Remove .tar.bz2 release
It's almost not downloaded and people usually can choose xz instead
which does compress better.

See https://github.com/phpmyadmin/phpmyadmin/issues/12348

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:04:08 +01:00
Michal Čihař
60ff6f759f Create batch in a temporary file
This should avoid problems described in comments of
421e8b0f54

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-13 07:50:17 +01:00
Michal Čihař
0c5acc9127 Merge branch 'QA_4_6' 2016-12-08 11:42:07 +01:00
Michal Čihař
f2bfa7d745 Avoid running shell scripts as CGI
There is really no reason for that besides misconfigured servers.

This is followup for PMASA-2016-54

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-08 11:41:42 +01:00
Michal Čihař
3059c3021a Do not upload md5 checksums
See https://github.com/phpmyadmin/scripts/issues/4

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-11-24 10:18:43 +01:00
Michal Čihař
4da9da052b Safer ssh configuration
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-03 11:48:53 +02:00
Michal Čihař
10d0ffb871 Enable file sync on sftp
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-28 08:17:36 +02:00
Michal Čihař
e825b1e401 Generate and upload SHA256 hashes as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-26 12:40:28 +02:00
Michal Čihař
9bde04b188 Limit what upload script accepts as version
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-22 13:17:54 +02:00
Michal Čihař
421e8b0f54 Use sftp batch mode for uploading
This way it will correctly fail on error.

Issue #12336

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-24 10:28:46 +02:00
Marc Delisle
2c0c5addcb Fix bug due to removed sf.net user argument
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-07-06 06:57:24 -04:00
Michal Čihař
00bfb4d596 Remove no longer needed parameter from upload-release script
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-07-02 16:18:17 +02:00
Marc Delisle
d67cd792c2 We no longer upload to SourceForge
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-07-02 07:55:38 -04:00
Michal Čihař
8636f7ef29 Upload md5 and sha1 checksums to our file server only
It makes no sense to push this to sf.net, it would only confuse users
there. And in the end we need them on our download server.

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-06-18 15:28:35 +02:00
Michal Čihař
afdd2355c8 Generate SHA1 and MD5 sums while releasing as well
So far we've relied on this being generated on sf.net side, what really
does not guarantee anything.

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-06-18 14:38:01 +02:00
Michal Čihař
edda35f603 Add support for GPG signing releases
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-06-16 12:11:06 +02:00
Michal Čihař
dd97bf650f Fix port for connecting to files server
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-06-15 08:18:50 +02:00
Marc Delisle
18b0a957bd Remove tab characters
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-06-13 07:24:51 -04:00
Michal Čihař
04dec8ba4a Upload files to our file server and CDN as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-06-12 08:31:30 +02:00
Michal Čihař
b485c6105c Remove blank lines from the end of PHP files (causing extra output)
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 10:57:21 +01:00
Michal Čihař
f60afa01e4 Upload .tar.xz files as well 2010-12-02 16:53:00 +01:00
Michal Čihař
56404c562b Upload also release notes. 2010-03-11 16:58:28 +01:00
Michal Čihař
6d5a1c3c29 Add script for automatically uploading a release. 2010-03-11 16:50:15 +01:00