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ř
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ř
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ř
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ř
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ř
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ř
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ř
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ř
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
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ř
80086020a1
GPG sign Git release tags
...
This makes it possible to verify that the tag matches what release
manager did release.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-07-26 11:15:26 +02:00
Michal Čihař
7d650bd548
Use phpmyadmin/shapefile instead of embedded bfShapeFile
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-06-24 15:52:40 +02:00
Michal Čihař
5f8e40941b
Do not remove phpseclib's bootstrap file
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-06-06 09:38:42 +02:00
Isaac Bennetch
ba20c9fc7e
We no longer need to create MAINT branches for each release; we'll do this on demand from the RELEASE_x_y_z tag if needed.
...
Signed-off-by: Isaac Bennetch <bennetch@gmail.com >
2016-05-26 16:22:37 -04:00
Michal Čihař
1cd936e7b3
Remove Weblate configuration on release
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-05-16 11:39:16 +02:00
Michal Čihař
317eb54abd
Silent errors from git cat-file
...
There doesn't seem to be better way to check for existence of file in
branch, so let's just ignore the errors from it.
Fixes #12015
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-29 13:09:25 +01:00
Michal Čihař
d96bc13f76
Strip motranslator tests from release tarball
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-24 14:39:52 +01:00
Michal Čihař
2424c41514
Create separate branch for ci tests
...
Otherwise we're unable to test pull requests on Travis as they are not
on any branch.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-22 08:05:49 +01:00
Michal Čihař
129b70af9c
Use TRAVIS_BRANCH for setup testing if available
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-22 08:05:49 +01:00
Michal Čihař
bbf2e43d67
Cleanup more files on release
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-22 08:05:49 +01:00
Michal Čihař
b3fb278ba5
Better cleanup phpseclib from not needed files
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-22 08:05:49 +01:00
Michal Čihař
e0c4eef9b6
Improve detection fo Config class filename
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-22 08:05:49 +01:00
Michal Čihař
cb42d787eb
Switch to correct captcha library
...
The previous one was older from third party, we need to use current from
Google.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-22 08:05:49 +01:00
Michal Čihař
d983803095
Strip composer packages of undeeded files
...
We want to produce reasonable sized releases, so let's strip not needed
files.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-22 08:05:49 +01:00
Michal Čihař
aad35d7b22
Propagate test return code
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-22 08:05:49 +01:00
Michal Čihař
b622c2066d
Add support for running testsuite on the release time
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-22 08:05:49 +01:00
Michal Čihař
602568c132
Create release worktree even if same branch is already worked on
...
Also prune stale work trees before creating new one.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-22 08:05:49 +01:00
Michal Čihař
09904cc959
Add safeguard to require branch and version
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-22 08:05:49 +01:00
Michal Čihař
33c5861f94
Improve parsing of option in create-release script
...
It no longer depdends on order of specified parameters.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-22 08:05:49 +01:00