Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions fetchLatestSnapshot.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
<pre><?php echo `date`; ?></pre>
<pre><?php
$ver = $_GET['ver'];
<?php
/*
The url below is the workspace folder for the master build,
which gets regenerated on every build and which
always contains only one version with a unique name.
So this can't be used to rollback to a previous version.
*/
?>
$ciBase = 'http://ci.angularjs.org/job/angular.js-angular-master/ws/build/';
$url = $ciBase.'angular-'.$ver.'.zip';
if ( !$ver or !preg_match("/^[\.\-\d\w]+$/", $ver) ) {
Expand Down