File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -104,21 +104,23 @@ stages:
104
104
vmImage : ' ubuntu-latest'
105
105
variables :
106
106
PUBLISH_LOCATION : ' $(Build.ArtifactStagingDirectory)'
107
+ SOURCE_LOCATION : ' $(Build.SourcesDirectory)'
107
108
steps :
108
109
- checkout : self
109
110
# find the commit hash on a quick non-forced update too
110
111
fetchDepth : 10
112
+ path : ' pcl'
111
113
- task : Bash@3
112
114
displayName : " Remove git files"
113
115
inputs :
114
116
targetType : ' inline'
115
117
script : ' rm -fr ./.git'
116
- workingDirectory : ' $(Build.SourcesDirectory )'
118
+ workingDirectory : ' $(SOURCE_LOCATION )'
117
119
failOnStderr : true
118
120
- task : ArchiveFiles@2
119
121
displayName : " Create release archive (.tar.gz)"
120
122
inputs :
121
- rootFolderOrFile : ' $(Build.SourcesDirectory )'
123
+ rootFolderOrFile : ' $(SOURCE_LOCATION )'
122
124
includeRootFolder : true
123
125
archiveType : ' tar'
124
126
archiveFile : ' $(PUBLISH_LOCATION)/source.tar.gz'
@@ -127,7 +129,7 @@ stages:
127
129
- task : ArchiveFiles@2
128
130
displayName : " Create release archive (.zip)"
129
131
inputs :
130
- rootFolderOrFile : ' $(Build.SourcesDirectory )'
132
+ rootFolderOrFile : ' $(SOURCE_LOCATION )'
131
133
includeRootFolder : true
132
134
archiveType : ' zip'
133
135
archiveFile : ' $(PUBLISH_LOCATION)/source.zip'
You can’t perform that action at this time.
0 commit comments