Browse Source

Appveyor (#594)

* added in code signing to appveyor

* appveyor - updated sign path api key

* appveyor sign path, removed deployment for now until i can get it working
sabrogden 1 year ago
parent
commit
206a7b53cd
1 changed files with 23 additions and 1 deletions
  1. 23 1
      appveyor.yml

+ 23 - 1
appveyor.yml

@@ -7,8 +7,9 @@ clone_folder: c:\projects\ditto
 branches:
 branches:
   only:
   only:
     - master
     - master
+    - appveyor
 
 
-skip_branch_with_pr: false    
+skip_branch_with_pr: true    
     
     
 install:
 install:
 - set INNO_SETUP_PATH=C:\Program Files (x86)\Inno Setup 6
 - set INNO_SETUP_PATH=C:\Program Files (x86)\Inno Setup 6
@@ -95,3 +96,24 @@ after_build:
   - appveyor AddMessage -Category Information "Publishing to GitHub"
   - appveyor AddMessage -Category Information "Publishing to GitHub"
   - npm install ./DittoSetup/GitHubRelease && SET "token=%GITHUB_API_KEY%" && SET "uploadPath=DittoSetup\output\" && SET "tag=%APPVEYOR_BUILD_VERSION%"  && SET "previous_tag=3.24.246.0" && node ./DittoSetup/GitHubRelease/index.js
   - npm install ./DittoSetup/GitHubRelease && SET "token=%GITHUB_API_KEY%" && SET "uploadPath=DittoSetup\output\" && SET "tag=%APPVEYOR_BUILD_VERSION%"  && SET "previous_tag=3.24.246.0" && node ./DittoSetup/GitHubRelease/index.js
 
 
+artifacts:
+  - path: DittoSetup\output\DittoSetup_%VERSION_FILENAME%.exe
+    name: Ditto Setup
+  - path: DittoSetup\output\DittoSetup_64bit_%VERSION_FILENAME%.exe
+    name: Ditto Setup 64bit
+  - path: DittoSetup\output\DittoPortable_%VERSION_FILENAME%.zip
+    name: Ditto Portable
+  - path: DittoSetup\output\DittoPortable_64bit_%VERSION_FILENAME%.zip
+    name: Ditto Portable 64bit
+  - path: DittoSetup\output\DittoDebug_%VERSION_FILENAME%.7z
+    name: Ditto Debug
+  - path: DittoSetup\output\Ditto_%VERSION_FILENAME%.appx
+    name: Ditto appx
+  - path: DittoSetup\Chocolatey\ditto.%VERSION_DOT_FILENAME%-beta.nupkg
+    name: Ditto Choco
+
+#deploy:
+#- provider: Webhook
+#  url: https://app.signpath.io/API/v1/11add37b-5875-49ff-a233-919a1833b6d8/Integrations/AppVeyor?ProjectSlug=Ditto&SigningPolicySlug=release-signing&ArtifactConfigurationSlug=initial
+#  authorization:
+#     secure: /YrIyb25bbTkbgBsg/1ttvD6y9GC4BqSNqSewTSIVMmYYrmyWw1VaJ7a80ixX6uXVYQ38UAn/qniQnWpDDNYbw==