Skip to content
This repository has been archived by the owner on Sep 2, 2019. It is now read-only.

Commit

Permalink
update.ps1: increase the listing limit to 3
Browse files Browse the repository at this point in the history
listing now contains README
  • Loading branch information
rindeal committed Mar 18, 2016
1 parent 948e144 commit 6e6d8fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ $PROJECT_ROOT_DIR = $(Resolve-Path "$PSScriptRoot\..")
$OUTPUT_DIR = "$PROJECT_ROOT_DIR\src"
$TMP_FILE = "$env:TMP\wxsqlite3.zip"

$WXSQLITE_SF_API_URL = "http://sourceforge.net/projects/wxcode/rss?path=/Components/wxSQLite3&limit=2"
$WXSQLITE_SF_API_URL = "http://sourceforge.net/projects/wxcode/rss?path=/Components/wxSQLite3&limit=3"
$WXSQLITE_SF_API_SRC = $WebClient.DownloadString($WXSQLITE_SF_API_URL)
$WXSQLITE_URL = $WXSQLITE_SF_API_SRC -replace "`n|`r" -replace '.*<link>([^<]*\.zip\/download).*','$1'

$WXSQLITE_URL

function compareVersions ($a, $b){
(New-Object System.Version($a)).CompareTo((New-Object System.Version($b)))
Expand Down

0 comments on commit 6e6d8fe

Please # to comment.