浏览代码

Nightly: Add script for testing nightly builds

Karl Hobley 5 年之前
父节点
当前提交
c875df67a2
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      .circleci/trigger-nightly-build.sh

+ 9 - 0
.circleci/trigger-nightly-build.sh

@@ -0,0 +1,9 @@
+#!/bin/bash
+# Triggers a nightly build for the latest commit on master
+# Use this for testing changes to the nightly release process
+# Call with the CIRCLE_API_USER_TOKEN set to your Personal API key
+# You can find this under User Settings on Circle CI
+
+curl -u ${CIRCLE_API_USER_TOKEN}: \
+     -d build_parameters[CIRCLE_JOB]=nightly-build \
+     https://circleci.com/api/v1.1/project/github/wagtail/wagtail/tree/master