Skip to content

Commit 77566c6

Browse files
committed
(build) publish artifacts to azure pipeline - only on windows
1 parent 891d0f5 commit 77566c6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build/tmpl/jobs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ jobs:
3838
ENABLED_PUBLISH_CHOCOLATEY: $(ENABLED_PUBLISH_CHOCOLATEY)
3939
ENABLED_PUBLISH_DOCKER: $(ENABLED_PUBLISH_DOCKER)
4040
- publish: $(System.DefaultWorkingDirectory)/artifacts
41+
condition: eq( variables['Agent.OS'], 'Windows_NT' )
4142
artifact: artifacts

build/version.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class BuildVersion
1515

1616
if (!string.IsNullOrWhiteSpace(gitVersion.BuildMetaData)) {
1717
semVersion += "-" + gitVersion.BuildMetaData;
18-
vsixVersion += "." + DateTime.UtcNow.ToString("yyMMddHH");
18+
vsixVersion += "." + DateTime.UtcNow.ToString("yyMMddHHmm");
1919
}
2020

2121
return new BuildVersion

0 commit comments

Comments
 (0)