You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by mx...@apache.org on 2020/10/01 23:33:44 UTC

[tcl-rivet] 06/07: merging changes from master

This is an automated email from the ASF dual-hosted git repository.

mxmanghi pushed a commit to branch quattuor
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git

commit 3fdb364642d90efb0ac4e927a8b0c34cdb4ae078
Author: Massimo Manghi <mx...@apache.org>
AuthorDate: Thu Oct 1 22:39:20 2020 +0200

    merging changes from master
---
 .appveyor.yml | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/.appveyor.yml b/.appveyor.yml
index 1f7ef21..843c314 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -61,3 +61,42 @@ build_script:
   - cmd: msbuild Rivet.sln /p:Platform=%RIVET_PLATFORM% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
   - cmd: msbuild INSTALL.vcxproj /p:Platform=%RIVET_PLATFORM% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
 
+after_build:
+  - cmd: set ARTIFACT_DIR=%RIVET_HOME%\artifacts\rivet-%RIVET_VERSION%-windows-%platform%
+  - cmd: echo %cd%
+  - cmd: mkdir %ARTIFACT_DIR%\modules
+  # Copy the installed files into a new directory, so we can zip it...
+  - cmd: copy /y /b %APACHE_ROOT%\modules\mod_rivet.so %ARTIFACT_DIR%\modules
+  - cmd: xcopy %APACHE_ROOT%\bin\rivet%RIVET_VERSION% %ARTIFACT_DIR%\rivet%RIVET_VERSION% /s /e /y /i
+  - cmd: cd %RIVET_HOME%\artifacts && dir
+  - cmd: cd %ARTIFACT_DIR% && dir
+  - cmd: cd %RIVET_HOME%\artifacts && 7z a -tzip rivet-%RIVET_VERSION%-windows-%platform%.zip *
+
+artifacts:
+  - path: '\artifacts\*.zip'
+    type: zip
+    name: rivet-%RIVET_VERSION%-windows-%platform%.zip
+
+deploy:
+  provider: GitHub
+  # The following token belongs to the user "petasis":
+  auth_token:
+    secure: "u2sUa4ovDQsL08AQjtmcIIVmHw6pFqIsT8JSBkMA2Ciebku0slhbTCGDZ19sp0Xt"
+  tag: $(APPVEYOR_REPO_TAG_NAME)
+  release: $(APPVEYOR_REPO_TAG_NAME)
+  description: 'Apache Rivet binaries'
+  artifact: rivet-%RIVET_VERSION%-windows-%platform%.zip
+  draft: true
+  prerelease: true
+  on:
+    branch: master                 # release from master branch only
+    appveyor_repo_tag: true        # deploy on tag push only
+
+## How to trigger a release:
+#  Add a new tag:
+#    git tag rivet-release-test-v3.2.0-1
+#    git push origin --tags
+#
+#  If you want to remove the tag:
+#    git push --delete origin tagName ;# tagName: rivet-release-test-v3.2.0-1
+#    git tag -d tagName


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tcl.apache.org
For additional commands, e-mail: commits-help@tcl.apache.org