aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2017-07-30 11:53:55 -0700
committerJon Lund Steffensen <jonlst@gmail.com>2017-07-30 12:24:19 -0700
commit23d20e1422bb797f24d99446a872f4a713dddaca (patch)
tree0c68b4171d2e52bda9f2f8462a753ffe7b95be3a /appveyor.yml
parentAppveyor: Run distcheck as part of build (diff)
downloadredshift-ng-23d20e1422bb797f24d99446a872f4a713dddaca.tar.gz
redshift-ng-23d20e1422bb797f24d99446a872f4a713dddaca.tar.bz2
redshift-ng-23d20e1422bb797f24d99446a872f4a713dddaca.tar.xz
Appveyor: Create zip package with txt files
Renames various text files to .txt extension to make it easier to open these files on Windows. Also bundles the sample configuration file.
Diffstat (limited to '')
-rw-r--r--appveyor.yml15
1 files changed, 12 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 1e7cca5..045cec9 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -25,7 +25,16 @@ build_script:
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && make install"
after_build:
-- cmd: >-
- 7z a redshift-windows-%arch%.zip "%APPVEYOR_BUILD_FOLDER%/root/bin/redshift.exe" COPYING NEWS README.md
+- ps: |
+ $ZIP_NAME = "redshift-windows-$env:arch"
+ $ZIP_FILE = "redshift-windows-$env:arch.zip"
- appveyor PushArtifact redshift-windows-%arch%.zip
+ md $ZIP_NAME
+ Copy-Item -Path $env:APPVEYOR_BUILD_FOLDER\root\bin\redshift.exe -Destination $ZIP_NAME
+ Copy-Item -Path README.md -Destination $ZIP_NAME/README.txt
+ Copy-Item -Path NEWS.md -Destination $ZIP_NAME/NEWS.txt
+ Copy-Item -Path COPYING -Destination $ZIP_NAME/COPYING.txt
+ Copy-Item -Path redshift.conf.sample -Destination $ZIP_NAME
+ 7z a $ZIP_FILE $ZIP_NAME/
+
+- ps: Push-AppveyorArtifact $ZIP_FILE