Skip to content

Commit

Permalink
Offset Version Patch
Browse files Browse the repository at this point in the history
  • Loading branch information
framinosona committed Mar 25, 2024
1 parent 75f484a commit 2c085a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Laerdal.Dfu/Laerdal.Dfu.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
<Laerdal_Version_Major>1</Laerdal_Version_Major>
<Laerdal_Version_Minor>27</Laerdal_Version_Minor>
<Laerdal_Version_Build Condition="'$(BUILD_BUILDID)' != ''">$(BUILD_BUILDID)</Laerdal_Version_Build> <!-- Azure DevOps, Last build was 43857 -->
<Laerdal_Version_Build Condition="'$(GITHUB_RUN_NUMBER)' != ''">$(GITHUB_RUN_NUMBER)</Laerdal_Version_Build> <!-- GitHub Actions, auto-increment from 0 -->
<Laerdal_Version_Build Condition="'$(CI_PIPELINE_IID)' != ''">$(CI_PIPELINE_IID)</Laerdal_Version_Build> <!-- GitLab, auto-increment from 0 -->
<Laerdal_Version_Build Condition="'$(GITHUB_RUN_NUMBER)' != ''">$([MSBuild]::Add(8, $(GITHUB_RUN_NUMBER)))</Laerdal_Version_Build> <!-- GitHub Actions, auto-increment from 0 -->
<Laerdal_Version_Build Condition="'$(CI_PIPELINE_IID)' != ''">$([MSBuild]::Add(8, $(CI_PIPELINE_IID)))</Laerdal_Version_Build> <!-- GitLab, auto-increment from 0 -->
<Laerdal_Version_Build Condition="'$(Laerdal_Version_Build)' == ''">0</Laerdal_Version_Build> <!-- Fallback value -->

<Laerdal_Version Condition="'$(Laerdal_Version)' == ''">$(Laerdal_Version_Major).$(Laerdal_Version_Minor).$(Laerdal_Version_Build)</Laerdal_Version>
Expand Down

0 comments on commit 2c085a7

Please sign in to comment.