Versioning Azure Devops Pipline with Powershell
€30-250 EUR
Paid on delivery
Hello,
I would like to add a pre-script to our Azure pipeline, where versioning is death with:
Creating a variable that can be used in the Azure pipeline.
Today we use a variable directly into the pipeline:
9.3.$(Rev:r).$(Date:ddMMyyyy)
And as of today we are not yet interested in converting to YAML.
So a power shell first step is requested:
For the versioning:
9.3 - Major fixed, does not change auto.
.20 Minor this is the tricky one.
The version increases if:
- 2 deliverers are made on the same day
- A new month has started.
And the third part of the versioning : date
So for example today it would be:
9.3.20.15072020
Tomorrow:
9.3.20.16072020
If tomorrow two publications would be made
9.3.20.16072020
9.3.21.16072020
And at the start of each new month the revision also increases so:
9.3.20.31072020
9.3.21.01082020
Project ID: #26571465
About the project
4 freelancers are bidding on average €150 for this job
I have 5 years of experience in DevOps operations and worked with GIT, JENKINS, AWS DEVOPS, PUPPET, ANSIBLE, CHEF , DOCKER, KUBERNETES. I will support you in completing your projects.