Skip to content

Commit

Permalink
Merge pull request #13 from kolosovpetro/azure-pipelines
Browse files Browse the repository at this point in the history
Update pdf version
  • Loading branch information
kolosovpetro committed Nov 16, 2023
2 parents fc265ce + 9b8b128 commit ed2d418
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions azure-pipelines/azure-pipelines-linux-mshosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ stages:
sudo chmod -R 775 $(OutputDirectory)
workingDirectory: '$(System.DefaultWorkingDirectory)'
displayName: 'Create Output Directory'
- bash: |
newVersion="$(GitVersion.SemVer)+$(GitVersion.BranchName).$(GitVersion.ShortSha)"
sed -i "s|Local-0.1.0|$newVersion|" "src/sections/version.tex"
displayName: 'Update version.tex'
workingDirectory: '$(System.DefaultWorkingDirectory)'
- bash: |
echo "Compiling LaTeX document first time ..."
Expand Down

0 comments on commit ed2d418

Please sign in to comment.