Skip to content

Commit a371dc3

Browse files
committed
Merge remote-tracking branch 'ust/v2' into v2
2 parents 1bad06a + 99ad79e commit a371dc3

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

.build/.appveyor/build.ps1

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,17 @@ make $env:BUILD_TARGET 2>&1
1919
dir dist
2020
mkdir release
2121

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+
}

.github/pull_request_template.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
## Summary
44
*
55

6+
<!-- Document the testing procedure for the PR reviewer. Attach any relevant configuration files and
7+
document invocation options -->
68
## Testing Steps
79
*
810

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 -->
1012
<!-- If there is no related issue, please create one and link it here before submitting the PR -->
11-
1213
Fixes #xxx

0 commit comments

Comments
 (0)