Skip to content

Commit 59b8ba7

Browse files
Refactor build version tag
1 parent f70d2d7 commit 59b8ba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ variables:
1212
- group: camera-onboarding-variable-group
1313

1414
- name: buildVersion
15-
value: $[format('{0:yyyyMMdd}-{1}', pipeline.startTime, variables['Build.SourceVersionShort'])]
15+
value: $[format('{0:yyyyMMdd}-{1}', pipeline.startTime, substring(variables['Build.SourceVersion'], 0, 7))]
1616

1717
stages:
1818
- stage: Build

0 commit comments

Comments
 (0)