File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -357,6 +357,23 @@ jobs:
357357 options : " --name ci-container -v /usr/bin/docker:/tmp/docker:ro"
358358
359359 steps :
360+ - task : UseDotNet@2
361+ displayName : ' Use .Net Core runtime 3.1.x'
362+ inputs :
363+ packageType : sdk
364+ version : ' 3.1.x'
365+
366+ - task : gitversion/setup@0
367+ inputs :
368+ versionSpec : ' 5.x'
369+
370+ - task : gitversion/execute@0
371+ inputs :
372+ updateAssemblyInfo : ' False'
373+ useConfigFile : true
374+ configFilePath : gitversion.yml
375+ displayName : Use GitVersion
376+
360377 - task : DownloadBuildArtifacts@0
361378 inputs :
362379 artifactName : Calculator
@@ -378,6 +395,9 @@ jobs:
378395 appimage-builder --recipe AppImageBuilder.x64.yaml --skip-test
379396 cp *.AppImage $(build.artifactstagingdirectory)
380397
398+ env:
399+ GITVERSION_FullSemVer: $(GitVersion.FullSemVer)
400+
381401 - task : PublishBuildArtifacts@1
382402 displayName : Publish Package Artifacts
383403 inputs :
Original file line number Diff line number Diff line change 55 id : uno.platform.calculator
66 name : uno-calculator
77 icon : ' StoreLogo'
8- version : latest
8+ version : !ENV ${GITVERSION_FullSemVer}
99 exec : usr/bin/uno-calculator/Calculator.Skia.Gtk
1010 exec_args : $@
1111 runtime :
@@ -73,7 +73,9 @@ AppDir:
7373 image : appimagecrafters/tests-env:ubuntu-xenial
7474 command : ./AppRun
7575 use_host_x : true
76+
7677AppImage :
7778 arch : x86_64
79+ file_name : !ENV uno-calculator-${GITVERSION_FullSemVer}-x86_64.AppImage
7880 update-information : None
7981 sign-key : None
You can’t perform that action at this time.
0 commit comments