Auto-increment file version no longer working v5.8.188

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Ardillr
Posts: 6
Last visit: Tue Jun 08, 2021 4:16 am

Auto-increment file version no longer working v5.8.188

Post by Ardillr »

Product, version and build: SAPIEN Powershell Studio 2021, v5.8.188
Operating system: Win10
PowerShell version(s): 5.1.18362.1474

With the release of this version the 'Auto-increment file version' in build settings is no longer incrementing with each save + build.

Only after entering the 'SAPIEN Script Packager' dialogue and clicking save, does it increment to the next build version. But it is necessary to repeat this after each build.

Saving the project has no impact. Closing and re-opening the package will also increment once per build/project load.

The issue can be replicated with existing projects and new projects.

User avatar
brittneyr
Site Admin
Posts: 789
Last visit: Fri Jun 11, 2021 2:05 pm
Answers: 15
Been upvoted: 11 times

Re: Auto-increment file version no longer working v5.8.188

Post by brittneyr »

We are looking into this and will get back to you soon!
Brittney Ryn
SAPIEN Technologies, Inc.

Ardillr
Posts: 6
Last visit: Tue Jun 08, 2021 4:16 am

Re: Auto-increment file version no longer working v5.8.188

Post by Ardillr »

Thanks Brittney.

I'd add it would be really handy if the build information was exposed as a variable or a macro. At the moment one has to read that value out of the packager ini or read the exe file info.

User avatar
Alexander Riedel
Posts: 7696
Last visit: Sat Jun 12, 2021 2:37 pm
Answers: 4
Been upvoted: 10 times

Re: Auto-increment file version no longer working v5.8.188

Post by Alexander Riedel »

In September 2018 we added some macro expansion when packaging. It scrolled off the changelog by now.

Add: Packager expands macros in code from packaging settings, current status:
__PRODUCTVERSION__
__FILEVERSION__
__PRODUCTDESCRIPTION__
__PRODUCTNAME__
__COMPANY__
__COPYRIGHT__
__FILE__
__DATE__
__TIME__
__TARGET__
__PROCESSOR__

Is that what you are looking for?
Alexander Riedel
SAPIEN Technologies, Inc.

Ardillr
Posts: 6
Last visit: Tue Jun 08, 2021 4:16 am

Re: Auto-increment file version no longer working v5.8.188

Post by Ardillr »

Thanks Alexander,

As far as getting the build information at runtime, that sounds like that might be what we're after and I'll give that a shot.

Have you been able to replicate the original issue of the version not incrementing?

User avatar
Alexander Riedel
Posts: 7696
Last visit: Sat Jun 12, 2021 2:37 pm
Answers: 4
Been upvoted: 10 times

Re: Auto-increment file version no longer working v5.8.188

Post by Alexander Riedel »

We have been able to replicate it, but have not identified the cause yet. We are investigating.
Alexander Riedel
SAPIEN Technologies, Inc.

Ardillr
Posts: 6
Last visit: Tue Jun 08, 2021 4:16 am

Re: Auto-increment file version no longer working v5.8.188

Post by Ardillr »

Is there an update or better workaround?

User avatar
brittneyr
Site Admin
Posts: 789
Last visit: Fri Jun 11, 2021 2:05 pm
Answers: 15
Been upvoted: 11 times

Re: Auto-increment file version no longer working v5.8.188

Post by brittneyr »

This issue has been resolved and the fix will be released with the next service build. There currently is no ETA on the service build.
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
brittneyr
Site Admin
Posts: 789
Last visit: Fri Jun 11, 2021 2:05 pm
Answers: 15
Been upvoted: 11 times

Re: Auto-increment file version no longer working v5.8.188

Post by brittneyr »

Please try build 189 and let me know if you are still experiencing this issue.
Brittney Ryn
SAPIEN Technologies, Inc.

Ardillr
Posts: 6
Last visit: Tue Jun 08, 2021 4:16 am

Re: Auto-increment file version no longer working v5.8.188

Post by Ardillr »

Will do thanks.