You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by pe...@apache.org on 2019/02/16 19:51:50 UTC

[tcl-rivet] branch master updated: AppVeyor atrifact generation and deployment

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 40182b0  AppVeyor atrifact generation and deployment
40182b0 is described below

commit 40182b00dfff022149b1efe33da31b80a4a42402
Author: Georgios Petasis <pe...@yahoo.gr>
AuthorDate: Sat Feb 16 21:50:54 2019 +0200

    AppVeyor atrifact generation and deployment
---
 .appveyor.yml | 37 +++++++++++++++++++++++++++++++++++++
 ChangeLog     | 33 ++++++++++++++++++++-------------
 2 files changed, 57 insertions(+), 13 deletions(-)

diff --git a/.appveyor.yml b/.appveyor.yml
index 1f7ef21..354af5a 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -61,3 +61,40 @@ 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: echo %cd%
+  # Copy the installed files into a new directory, so we can zip it...
+  - cmd: xcopy %APACHE_ROOT%\modules %RIVET_HOME%\artifacts\rivet-%RIVET_VERSION%-windows-%platform% /e /y /i
+  - cmd: xcopy %APACHE_ROOT%\bin\rivet%RIVET_VERSION% %RIVET_HOME%\artifacts\rivet-%RIVET_VERSION%-windows-%platform% /e /y /i
+  - cmd: cd %RIVET_HOME%\artifacts && dir
+  - cmd: cd %RIVET_HOME%\artifacts\rivet-%RIVET_VERSION%-windows-%platform% && 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
diff --git a/ChangeLog b/ChangeLog
index 77e681e..efbc26d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,16 +1,21 @@
+2019-02-16 Georgios Petasis <pe...@apache.org>
+    * .appveyor.yml: Added support for creating a zip with the installed rivet
+    files (both module and library), and create an artifact. If a tag is added
+    (in all branches), the zip will be added to the release.
+
 2019-01-21 Massimo Manghi <mx...@apache.org>
-	* src/rivet.h: Add error message buffer size definition (was still hardcoded
-	here and there)
-	* src/mod_rivet_ng/rivetCore.c,rivet_worker_mpm.c: hardcoded buffer size into
-	their correct macro definitions
+    * src/rivet.h: Add error message buffer size definition (was still hardcoded
+    here and there)
+    * src/mod_rivet_ng/rivetCore.c,rivet_worker_mpm.c: hardcoded buffer size
+    into their correct macro definitions
 
 2019-01-14 Massimo Manghi <mx...@apache.org>
-	 * src/mod_rivet_ng/rivetCore.c: add experimental ::rivet::thread_id
-	command
+    * src/mod_rivet_ng/rivetCore.c: add experimental ::rivet::thread_id
+   command
 
 2019-01-05 Massimo Manghi <mx...@apache.org>
-	* doc/: merging from 3.1 fixes to various broken docbook elements
-	and new entities to external resources' URLs
+    * doc/: merging from 3.1 fixes to various broken docbook elements
+    and new entities to external resources' URLs
 
 2018-12-24 Georgios Petasis <pe...@apache.org>
     * README.md: Added badges also for the GitHub fork at:
@@ -34,11 +39,13 @@
     * Readme.md: Added a separate badge for winbuild branch.
 
 2018-12-17 Massimo Manghi <mx...@apache.org>
-	* src/request/apache_request.c,src/request/apache_multipart_buffer.[c|h]: 
-	explicit cast to int wherever needed by calls to Tcl_* functions and changed 
-	int to size_t wherever required 
-	* src/mod_rivet_ng/rivet_types.h,rivetCore.c: field 'size' in structure typed as size_t
-	* src/mod_rivet_ng/TclWebapache.c: argument to Tcl_ReadChars explicitly cast to int 
+    * src/request/apache_request.c,src/request/apache_multipart_buffer.[c|h]: 
+    explicit cast to int wherever needed by calls to Tcl_* functions and
+    changed int to size_t wherever required 
+    * src/mod_rivet_ng/rivet_types.h,rivetCore.c: field 'size' in structure
+    typed as size_t
+    * src/mod_rivet_ng/TclWebapache.c: argument to Tcl_ReadChars explicitly
+    cast to int 
 
 2018-12-16 Georgios Petasis <pe...@apache.org>
     * Readme.md: Added a Markdown README file, which shows the build status


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