Author Topic: Git Tag text string  (Read 502 times)

0 Members and 1 Guest are viewing this topic.

Offline jashuganTopic starter

  • Contributor
  • Posts: 46
Git Tag text string
« on: June 11, 2023, 10:18:33 pm »
Hello,
I would like to use Git for our Altium products. I would like to put the revision in the PCBdoc and Gerber outputs taken from the GitTag, such that in the PCB I have a string something like .Projectname+.GitTag.
Do you know if such a feature exist on Altium?
 

Offline Pseudobyte

  • Frequent Contributor
  • **
  • Posts: 284
  • Country: us
  • Embedded Systems Engineer / PCB Designer
Re: Git Tag text string
« Reply #1 on: June 12, 2023, 04:15:04 pm »
If you are using 365 it is =VersionControl_RevNumber and =VersionControl_RevNumberShort

However, if you are not, I don't know if that holds true.
“They Don’t Think It Be Like It Is, But It Do”
 
The following users thanked this post: jashugan

Offline Pseudobyte

  • Frequent Contributor
  • **
  • Posts: 284
  • Country: us
  • Embedded Systems Engineer / PCB Designer
Re: Git Tag text string
« Reply #2 on: June 12, 2023, 04:17:26 pm »
There are also =VersionControl_ProjFolderRevNumber and =VersionControl_ProjFolderRevNumberShort for looking at the project as a whole.
“They Don’t Think It Be Like It Is, But It Do”
 
The following users thanked this post: jashugan


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf