11 messages in com.perforce.perforce-userTriggers to set build number?| From | Sent On | Attachments |
|---|---|---|
| Matt...@umich.edu | 24 May 1999 20:01 | |
| Nick...@nvidia.com | 24 May 1999 20:18 | |
| Matt...@umich.edu | 24 May 1999 20:37 | |
| Jeff...@pobox.com | 24 May 1999 21:18 | |
| Nick...@nvidia.com | 24 May 1999 22:29 | |
| Davi...@ctxuk.citrix.com | 25 May 1999 00:59 | |
| Fred...@mydata.se | 25 May 1999 06:36 | |
| Jame...@perforce.com | 25 May 1999 07:28 | |
| heat...@wrq.comheatherv | 25 May 1999 07:58 | |
| Chas...@luna.com | 25 May 1999 08:11 | |
| Jeff...@nextcard.com | 25 May 1999 08:53 |
| Subject: | Triggers to set build number?![]() |
|---|---|
| From: | Nick...@nvidia.com (Nick...@nvidia.com) |
| Date: | 05/24/1999 10:29:54 PM |
| List: | com.perforce.perforce-user |
Hi Matt,
Well, the problem with that is that there is no change number associated with the files you have. You might have half of change number 25000, and half of 25001. For our nightly builds, we just use the change number of the top-of-tree, since that's what we build. For "official" builds, we just make a label as part of the build script, and use the change number to get an idea of roughly when the build was done.
- -Nick
-----Original Message----- From: Matt Lewinski [mailto:mlewinsk at umich.edu] Sent: Monday, May 24, 1999 8:37 PM To: Nick Triantos Cc: perforce-user at perforce.com Subject: RE: Triggers to set build number?
If that's all your doing, wouldn't the output of 'p4 counter change' be a little more enlightening? This is what i've been playing with.
I've run into the problem that this always returns the most recent revision, not the revision which is what i have in my client workspace. Is there a way to get that number?
--matt
matt lewinski mlewinsk at umich.edu beos developer #9967 student, univ. of michigan
On Mon, 24 May 1999, Nick Triantos wrote:
Hi Matt,
We just use a perl script that hunts it down in the output of 'p4 changes -m 1'. That, in turn, sets an environment variable and a compiler switch as needed.
Regards, -Nick
-----Original Message----- From: Matt Lewinski [mailto:mlewinsk at umich.edu] Sent: Monday, May 24, 1999 8:01 PM To: perforce-user at perforce.com Subject: Triggers to set build number?
I'm looking to create a way to set some versioning information in our application using the last changelist number that was submitted against the depot. Does anyone with more experience have any insight into a good way to do this? I was thinking of using a trigger to update a text file but I am sure this is not the best way to do this.
--matt
matt lewinski mlewinsk at umich.edu beos developer #9967 student, univ. of michigan




