Skip to content

Commit

Permalink
Set package.json date when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Aug 7, 2020
1 parent 5e1b183 commit 1e230ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev-bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ perl -pi -e "s/(?<=#define PHP_MAXMINDDB_VERSION \")\d+\.\d+\.\d+(?=\")/$version
perl -pi -e "s/(?<=\"ext-maxminddb\": \"<)\d+.\d+.\d+(?=,)/$version/" composer.json
perl -pi -e "s/(?<=<release>)\d+\.\d+\.\d+(?=<)/$version/" package.xml
perl -0777 -pi -e "s{(?<=<notes>).*(?=</notes>)}{$notes}sm" package.xml
perl -pi -e "s/(?<=<date>)\d{4}-\d{2}-\d{2}(?=<)/$date/" package.xml

pushd ext
phpize
Expand Down

0 comments on commit 1e230ef

Please sign in to comment.