I have tried like two days to understand how git works. Got the basics, then wanted to install git on my work PC and something went wrong. Then read contribution guide about branching and got totally lost.
I'm sorry but it is easier just to post it here.
I wanted to the the following change in "install.md":
For Windows systems with Powershell installed (i.e. Windows 10) the following snippet can be used to download latest version of utPLSQL:
$archiveName = 'utPLSQL.zip'
$latestRepo = Invoke-WebRequest https://api.github.com/repos/utPLSQL/utPLSQL/releases/latest
$repo = $latestRepo.Content | Convertfrom-Json
$urlList = $repo.assets.browser_download_url
foreach ($i in $urlList) {
$fileName = $i.substring($i.LastIndexOf("/") + 1)
if ( $fileName.substring($fileName.LastIndexOf(".") + 1) -eq 'zip' ) {
Invoke-WebRequest $i -OutFile $archiveName
unzip -q $archiveName
}
}
I have tried like two days to understand how git works. Got the basics, then wanted to install git on my work PC and something went wrong. Then read contribution guide about branching and got totally lost.
I'm sorry but it is easier just to post it here.
I wanted to the the following change in "install.md":
For Windows systems with Powershell installed (i.e. Windows 10) the following snippet can be used to download latest version of utPLSQL: