22 Commits

Author SHA1 Message Date
Gregory Oschwald
bfd717e908 Fix release script consistency issues
- Support pre-release versions in changelog parsing
- Quote date command substitution for defensive programming
- Fix shellcheck SC2162: add -r flag to read command
- Apply shfmt formatting
2025-12-04 07:04:32 -08:00
Gregory Oschwald
29cb614921 Add pre-flight checks to release script 2025-12-03 10:12:19 -08:00
Gregory Oschwald
2194f58d0f Add check that repo is clean 2025-11-21 14:24:26 -08:00
Gregory Oschwald
c951fffeab Check that we aren't behind origin/main 2025-11-21 14:21:15 -08:00
Gregory Oschwald
173687978e Add PIE extension support via separate repository
- Update release.sh to automate extension repo releases
  - Clone extension repo to .ext directory
  - Update submodule reference after main release
  - Create matching release in extension repo
  - Include safety checks and error handling
  - Create php_maxminddb-{version}-src.tgz from submodule ext/ directory
  - Upload as GitHub release asset
- Update README.md to promote PIE as recommended installation method
- Add maxmind-db/reader-ext to composer.json suggest section
- Add .ext to .gitignore
- Document implementation plan in plan.md

References:
- https://github.com/php/pie/issues/39
2025-11-21 14:18:46 -08:00
Gregory Oschwald
57c3358385 Check that we are not on main 2025-11-20 10:36:28 -08:00
Gregory Oschwald
2cb2260acb Set correct version in composer require 2025-05-06 15:50:06 -07:00
Gregory Oschwald
75145ed519 Use gh instead of hub. Release from right branch. 2021-11-23 10:09:30 -08:00
Gregory Oschwald
aeec891f2d Fix release script 2021-01-07 13:13:35 -08:00
Gregory Oschwald
09e8c482e5 Update api tag too 2020-10-02 07:42:27 -07:00
Gregory Oschwald
1e230ef952 Set package.json date when releasing 2020-08-07 15:09:43 -07:00
Gregory Oschwald
7b65cf6f42 Add producing PECL package to release script 2020-08-07 12:23:44 -07:00
Gregory Oschwald
2824e6d21e Require C extension to be as new as package
Closes #97
2019-12-19 07:30:22 -08:00
Gregory Oschwald
bd436094fc Bumped version to 1.5.0 2019-09-30 15:56:38 -07:00
Gregory Oschwald
64fdb117df Add clang-format config and script
And remove uncrustify config.
2019-09-26 14:37:34 -07:00
Gregory Oschwald
6e73f69ead Fix release script
hub creates release from origin, not local commit.
2017-01-19 15:43:22 -08:00
Gregory Oschwald
02bb5aa2bf Tweak release script 2016-11-22 07:22:46 -08:00
Gregory Oschwald
571279051c Prepare for 1.1.3 2016-11-21 13:33:24 -08:00
Gregory Oschwald
07f211ab59 Adjust release to commit if there are changes 2015-03-13 15:35:13 -07:00
Gregory Oschwald
034c25727c Display diff before releasing 2015-01-12 15:28:58 -08:00
Gregory Oschwald
5756f1bb17 Display diff before releasing 2015-01-12 15:19:12 -08:00
Gregory Oschwald
c6e07b5ab0 Prepare for 1.0.1 2015-01-12 15:15:05 -08:00