Commit Graph

627 Commits

Author SHA1 Message Date
Michal Čihař
009246e96a Force PHP platform in composer to oldest supported version
This way the packages should be compatible with all versions we support
regardless PHP version used to build the release.

Fixes #13831

Signed-off-by: Michal Čihař <michal@cihar.com>
2018-01-08 18:00:41 +01:00
Michal Čihař
2ceb2419a3 Sign only generated files on release
Fixes #13885

Signed-off-by: Michal Čihař <michal@cihar.com>
2018-01-08 17:13:41 +01:00
Michal Čihař
dc0e9a5c45 Restore worktree for composer.lock removal on release
The worktree is previously cleaned up, so it can't be reused.

Fixes #13613

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-15 09:48:21 +01:00
Michal Čihař
eddbfcd77c Make the class name version independent
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-25 07:41:46 +02:00
Michal Čihař
c73f451cde Always cleanup composer file
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-18 10:05:09 +02:00
Michal Čihař
f0e92a9bfd Sync script with master
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-30 13:19:26 +02:00
Michal Čihař
6f9a50f2e7 Do not include devel dependencies in the release
The composer require does automatically run update and thus pulling in
all things we've removed in previous step. Passing --update-no-dev
avoids this.

Fixes #13146

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-04 08:45:45 +02:00
Michal Čihař
cbcad52b0e List longest lasting tests from the json log
Generate JSON report for tests and include it in output

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-02 13:31:08 +01:00
Michal Čihař
7f9e346a87 Install tcpdf when building release
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-14 17:42:34 +01:00
Michal Čihař
aa1c65a2c4 Merge pull request #12836 from nijel/source-release
Add source release, strip current ones
2017-01-25 14:02:25 +01:00
Michal Čihař
4b8fe37b05 Remove phpmyadmin vendor from being translated here
Every library should handle localization on it's own.

Fixes #12013

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-23 14:21:28 +01:00
Michal Čihař
b6468d9b8a Remove po files from sql-parser on creating tarball
Issue #12013

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-23 14:21:23 +01:00
Michal Čihař
2fd4e4b2ae Merge branch 'QA_4_6' 2016-12-19 14:44:25 +01:00
Michal Čihař
53274555b6 Add source release support
See #12348

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:44:20 +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ř
b567783a24 Remove codecov.yml on release
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:33:08 +01:00
Michal Čihař
0e5cf50467 Add source release support
See #12348

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:29:58 +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ř
401ecbdfbe Remove not used option
We use 7z for creating zips for ages, this code was not used for years.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:02:16 +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ř
aa48806e45 Do not generate MD5 checksum
It's not used anywhere in the website and SHA provides better way to
verify content.

See https://github.com/phpmyadmin/scripts/issues/4

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-11-24 09:28:34 +01:00
Michal Čihař
51a7ea7bf5 Adjust cleanup to changed motranslator deps
See #6363, #11993 and phpmyadmin/motranslator#5

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-13 13:21:18 +02:00
Michal Čihař
c365e79470 Do cleanup of simple-math for release as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-12 17:08:19 +02:00
Michal Čihař
d24848400d Merge branch 'QA_4_6' 2016-10-03 19:28:01 +02:00
Michal Čihař
0a5ab3bfe9 Remove unused script
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-03 19:27:53 +02:00
Michal Čihař
e1d5a1338d Remove outdated script
This is not used on the demo, there is separate one in scripts repo.

Fixes #12605

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-03 19:27:03 +02:00
Michal Čihař
3fc7fc0c1b Validate branch and version strings on releasing
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-16 15:33:10 +02:00
Michal Čihař
91ffece4a8 Sort files in tar by name (issue #12560)
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-16 14:02:49 +02:00
Michal Čihař
541dbd3a5a Do not store uid in tarballs
Fixes #12560

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-16 14:00:50 +02:00
Isaac Bennetch
3cc02ea2a5 Merge pull request #12406 from nijel/sign-tags
GPG sign Git release tags
2016-08-23 10:14:53 -04:00
Michal Čihař
78a93d5a41 Revert "Strip barcodes from TCPDF"
This reverts commit e7517f5144.
2016-08-17 09:59:15 +02:00
Michal Čihař
e7517f5144 Strip barcodes from TCPDF
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-17 09:06:10 +02:00
Michal Čihař
f189f3a08f Remove sRGB.icc when creating release
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-17 09:05:26 +02:00
Michal Čihař
52f23338a8 Merge branch 'master-security' 2016-08-17 08:50:51 +02: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ř
95d4f57fed Merge branch 'master' into master-security 2016-08-03 10:03:13 +02:00
Michal Čihař
1de346b3fe Store composer.lock in Git for releases
Once release is created, commit composer.lock to releasing branch, so
that we know what has been shipped there.

Fixes #12408

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-02 09:23:40 +02:00
Michal Čihař
360b8e8a11 Merge branch 'master' into master-security 2016-07-28 09:44:08 +02:00
Michal Čihař
d31ff5a1e7 Merge branch 'QA_4_6' into QA_4_6-security 2016-07-28 09:43:26 +02:00
Michal Čihař
6d8e1d7935 Merge branch 'QA_4_6' 2016-07-28 09:38:08 +02:00
Michal Čihař
257e65ba9f Use https for outbound links where applicable
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-28 09:19:13 +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ř
e01d58ff4b Merge branch 'QA_4_6' 2016-07-28 08:15:10 +02:00
Michal Čihař
43a199bdca Use single quotes for filename
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-28 08:15:04 +02:00
Michal Čihař
d15490088c Merge branch 'QA_4_6' 2016-07-27 16:30:47 +02:00
Michal Čihař
870ca1cc7a Use https for wiki links
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-27 16:28:07 +02:00