Is there a method to get last build version?

niveus_everto's Avatar

niveus_everto

22 Mar, 2018 03:27 PM

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. 1 Posted by Ilya Finkelshte... on 22 Mar, 2018 04:51 PM

    Ilya Finkelshteyn's Avatar

    Please check this sample

  2. 2 Posted by niveus_everto on 22 Mar, 2018 08:48 PM

    niveus_everto's Avatar

    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. 3 Posted by Ilya Finkelshte... on 22 Mar, 2018 09:06 PM

    Ilya Finkelshteyn's Avatar

    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