Skip to content

Automate publication of release artifacts #379

Closed
@adamvoss

Description

@adamvoss

This automates part of step 2 from the existing I-D Publish Process. With this all that should be required is pushing the tag and no manually building/uploading files necessary.

This will hopefully make the process easier to follow since this publication did not occur with draft-06.

Note: api_key will need to be updated. See also #370.

From 3c2ad180d5dd28d9c102f0d7deef5079c003dc8c Mon Sep 17 00:00:00 2001
From: Adam Voss <[email protected]>
Date: Wed, 7 Jun 2017 12:48:03 -0500
Subject: [PATCH 1/1] Add automatic deployment to Travis CI build

When a tag is pushed, it will publish the build on GitHub releases.
---
 .travis.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 05f9525..c5b1e00 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,3 +7,14 @@ script:
 - xml2rfc jsonschema-core.xml --basename=jsonschema-core-$TAG --text --html
 - xml2rfc jsonschema-validation.xml --basename=jsonschema-validation-$TAG --text --html
 - xml2rfc jsonschema-hyperschema.xml --basename=jsonschema-hyperschema-$TAG --text --html
+deploy:
+  provider: releases
+  api_key:
+    secure: GwqBAv10t3T5wW9Q28Zr+QH93kGNGHInZk92VbEeZ+2Efnx2wtrb/XgMaQYjuTkk6DSWVPzoOkiON9iEY62EkD37F4M4Xd8pgQmeOR46zwT568daH+M49/2/HnHlzejHInFNa+0hxy2LjTXZt2Bvqoi9Hb7o6c0IdMwbAX3NrqNc6Ky2UPDoXZuUz6Rbz/6vWsNwEMEKn52Zsmgg6OVw1skZe+2ZaHDCH1TkTLmlk1IgXHTZHMXn3LcPv8tzx/yoPzjIpojzeg+TbAYApzB6UL7d81i4pb4PzmKsWp1UPEHI/nWDbeK8GucYN4BrfK22vKoSgdASfgL8LfWhSvwdz8CskjT2Lr+o+kF+3dMfOwyh9mMTtuqhHdW82pgvKIURrz7oSMDzkeDSg+bjz/BkU5lmuJPSTCMWYaGb9d295Azn+pRTN7wbrxpnGnUodcvtDFijIldhJh9q12iWBdfgLXfWeUOvrtZCQDldPhMerk9oiUJjTtZnlZkKxSZZWAhGEDP86XTa4XvKPC/R9WiQRtpwbdR/DtQQyFxfLJZ1gnsQYAJuI0KQ4PWkB8fI3Cvlime9/BI3d5YmsZvNiNviKn4m4fgAk0amV7N6z40laoWZ8y+laHxdBdMfD3MG8QS9ncLZJ7rfTUT9RAoPhFAa8lodI3wXk7PR7XbhKjmwczM=
+  skip_cleanup: true
+  file:
+  - "*.html"
+  - "*.txt"
+  file_glob: true
+  on:
+    tags: true
-- 
2.7.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions