New releases: server, Perl, PHP

Lisa Marie Seelye lisa@gentoo.org
29 Jul 2003 18:13:29 -0400


--=-BeAK6FCXFnKoOJSrtLYt
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2003-07-29 at 18:00, Brad Fitzpatrick wrote:
> Anybody know how to make PHP module releases easy?  With the Perl stuff, =
I
> just do "perl Makefile.PL && make dist".  I guess I'll just write a littl=
e
> Perl script to parse out the PHP module's version number and tar stuff up=
.
> Not a big deal, but I'm sure there's a more ideal PHP-ish way.

If you're using CVS, you can look at the $Header with this:

#   awk '/Header:/{print $4}' php_api.php

That should return the version; I tested it with a line like this:
# $Header: /home/cvsroot/foo/index.php,v 1.4 2003/07/29 19:47:48 lisa
Exp $

I'll update the Portage entry soon.


--=20
Regards,
-Lisa
<Vix ulla tam iniqua pax, quin bello vel aequissimo sit potior>

--=-BeAK6FCXFnKoOJSrtLYt
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/JvGIy0a1Vh5Jb8URAjMyAJsGjsUw1ScTwmZu3VPvihRACBvqtQCfRpOy
iSHB4M0nxFgpumaQcZN7Qg4=
=7ZPg
-----END PGP SIGNATURE-----

--=-BeAK6FCXFnKoOJSrtLYt--