File tree Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,17 @@ make $env:BUILD_TARGET 2>&1
19
19
dir dist
20
20
mkdir release
21
21
22
- cp dist\user-sync.exe release\
23
- cd release
24
- 7z a " user-sync-${env: APPVEYOR_REPO_TAG_NAME}${env: BUILD_EDITION} -win64.zip" user-sync.exe
25
- cd ..
26
- 7z a - ttar release\examples.tar examples
27
- 7z a - tgzip release\examples.tar.gz release\examples.tar
28
- 7z a release\examples.zip examples\
29
- dir release
22
+ if (${env: APPVEYOR_REPO_TAG} -eq $true )
23
+ {
24
+ Write-Host " Archiving artifacts for tagged commit"
25
+ cp dist\user-sync.exe release\
26
+ cd release
27
+ 7z a " user-sync-${env: APPVEYOR_REPO_TAG_NAME}${env: BUILD_EDITION} -win64.zip" user-sync.exe
28
+ cd ..
29
+ 7z a - ttar release\examples.tar examples
30
+ 7z a - tgzip release\examples.tar.gz release\examples.tar
31
+ 7z a release\examples.zip examples\
32
+ dir release
33
+ } else {
34
+ Write-Host " Skipping artifact archival for non-tagged commit"
35
+ }
Original file line number Diff line number Diff line change 3
3
## Summary
4
4
*
5
5
6
+ <!-- Document the testing procedure for the PR reviewer. Attach any relevant configuration files and
7
+ document invocation options -->
6
8
## Testing Steps
7
9
*
8
10
9
- <!-- Link to all bugs that this PR fixes, one link per line -->
11
+ <!-- REQUIRED: Link to all bugs that this PR fixes, one link per line -->
10
12
<!-- If there is no related issue, please create one and link it here before submitting the PR -->
11
-
12
13
Fixes #xxx
You can’t perform that action at this time.
0 commit comments