Is there a method to get last build version?

I'm planning to use versioning scheme x.x.x.{build} and want to compare x.x.x within PowerShell script and drop build to 0 if versions mismatch.

  1. Please check this sample

  2. I've already found this sample, but It's a bit confusing in part of assignments of build numbers:
    HTTP PUT sets build number 2, but ENV variable sets to 1

  3. It sets next build number to 2, and current one to 1...

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:27 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac