소스 검색

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