File tree Expand file tree Collapse file tree 1 file changed +31
-2
lines changed Expand file tree Collapse file tree 1 file changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -515,8 +515,7 @@ workflows:
515
515
requires :
516
516
- setup
517
517
518
- # TODO: This workflow doesn't do anything yet, but you should be able to
519
- # trigger it using the CircleCI API
518
+ # Used to publish a prerelease manually via the command line
520
519
publish_preleases :
521
520
when : << pipeline.parameters.prerelease_commit_sha >>
522
521
jobs :
@@ -535,3 +534,33 @@ workflows:
535
534
commit_sha : << pipeline.parameters.prerelease_commit_sha >>
536
535
release_channel : experimental
537
536
dist_tag : experimental
537
+
538
+ # Publishes on a cron schedule
539
+ publish_preleases_nightly :
540
+ unless : << pipeline.parameters.prerelease_commit_sha >>
541
+ triggers :
542
+ - schedule :
543
+ # At 16:00 UTC (11 am Eastern, 8 am Pacific) on every weekday (Monday
544
+ # through Friday)
545
+ cron : " 0 16 * * 1-5"
546
+ filters :
547
+ branches :
548
+ only :
549
+ - master
550
+ jobs :
551
+ - setup
552
+ - publish_prerelease :
553
+ name : Publish to Next channel
554
+ requires :
555
+ - setup
556
+ commit_sha : << pipeline.parameters.prerelease_commit_sha >>
557
+ release_channel : stable
558
+ dist_tag : next
559
+ - publish_prerelease :
560
+ name : Publish to Experimental channel
561
+ requires :
562
+ - setup
563
+ commit_sha : << pipeline.parameters.prerelease_commit_sha >>
564
+ release_channel : experimental
565
+ dist_tag : experimental
566
+
You can’t perform that action at this time.
0 commit comments