I don't know how to grab git fingerprint, but I can modify the pom.xml
to add a timestamp in the Manifest
   
<Implementation-Version>${project.version}-${buildNumber}</Implementation-Version>

Are you ok ?

On Wed, Aug 19, 2009 at 18:26, David
Pollak<feeder.of.the.be...@gmail.com> wrote:
>
>
> On Wed, Aug 19, 2009 at 5:44 AM, Jeppe Nejsum Madsen <je...@ingolfs.dk>
> wrote:
>>
>> Hi,
>>
>> When living on the bleeding edge (i.e. 1.1-SNAPSHOT) it is sometimes
>> difficult to figure out which version of lift is in use and deployed.
>>
>> LiftRules.liftVersion only returns 1-1.0-SNAPSHOT.
>>
>> I could probably try to correlate liftBuildDate with hudson and github but
>> this seem error prone :-)
>>
>> Would it be possible to:
>>
>> 1) Include the build # in liftVersion for the snapshot release?
>
> Right now the version number is available in the manifest file.  If you, or
> someone else, can suggest a way grab the Git fingerprint for the build
> release, I'm all for including that in the manifest as well.
>
>>
>> 2) Make it possible to identify the revision from this build #
>> (e.g. push the hudson build tags to the github repo or something
>> similar)?
>>
>> /Jeppe
>>
>>
>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Git some: http://github.com/dpp
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to