From 6ceb835795c86945b673061fc092101755b0c043 Mon Sep 17 00:00:00 2001 From: dgalbraith Date: Wed, 23 Sep 2020 12:56:32 +0100 Subject: [PATCH] (gh-194) Rebased versions to match current package Rebased to match the current pushed version so that the updates can be pushed tothe community repository. --- automatic/dotcover-cli/README.md | 2 +- automatic/dotcover-cli/tools/chocolateyInstall.ps1 | 4 ++-- automatic/dotcover-cli/update.ps1 | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/automatic/dotcover-cli/README.md b/automatic/dotcover-cli/README.md index c6a92fb02..5fd9f9949 100644 --- a/automatic/dotcover-cli/README.md +++ b/automatic/dotcover-cli/README.md @@ -3,7 +3,7 @@ [![Software license](https://img.shields.io/badge/license-proprietary-lightgrey)](https://www.jetbrains.com/legal/agreements/user.html) [![Maintenance status](https://img.shields.io/badge/maintained%3F-yes-green.svg)](https://gitHub.com/dgalbraith/chocolatey-packages/graphs/commit-activity) [![AppVeyor build](https://img.shields.io/appveyor/ci/dgalbraith/chocolatey-packages)](https://ci.appveyor.com/project/dgalbraith/chocolatey-packages) -[![Software version](https://img.shields.io/badge/Source-v2020.2.2.20200915.20200915-blue.svg)](https://www.jetbrains.com/dotcover/download/#section=commandline) +[![Software version](https://img.shields.io/badge/Source-v2020.2.1-blue.svg)](https://www.jetbrains.com/dotcover/download/#section=commandline) [![Chocolatey package version](https://img.shields.io/chocolatey/v/dotcover-cli?label=Chocolatey)](https://chocolatey.org/packages/dotcover-cli) dotCover Command Line Tools is a free redistributable package which enables analyzing the code coverage outside of Visual Studio. diff --git a/automatic/dotcover-cli/tools/chocolateyInstall.ps1 b/automatic/dotcover-cli/tools/chocolateyInstall.ps1 index 1337f71b9..2e49b7ecc 100644 --- a/automatic/dotcover-cli/tools/chocolateyInstall.ps1 +++ b/automatic/dotcover-cli/tools/chocolateyInstall.ps1 @@ -1,11 +1,11 @@ $ErrorActionPreference = 'Stop' $toolsDir = Split-Path -parent $MyInvocation.MyCommand.Definition -$archive = 'JetBrains.dotCover.CommandLineTools.2020.2.2.zip' +$archive = Join-Path $toolsDir 'JetBrains.dotCover.CommandLineTools.2020.2.1.zip' $unzipArgs = @{ PackageName = $env:ChocolateyPackageName - FileFullPath = Join-Path $toolsDir $archive + FileFullPath = $archive Destination = $toolsDir } diff --git a/automatic/dotcover-cli/update.ps1 b/automatic/dotcover-cli/update.ps1 index 31976310a..91877d394 100644 --- a/automatic/dotcover-cli/update.ps1 +++ b/automatic/dotcover-cli/update.ps1 @@ -5,7 +5,7 @@ $ErrorActionPreference = 'STOP' $domain = 'https://data.services.jetbrains.com' $releases = "${domain}/products?code=DCCLT&release.type=release" -$refile = "J.+zip" +$refile = "(\/|'|\s'|e\s|\s)(J.+zip)" $reversion = '(-v)(\d+\.\d\.*\d*)' function global:au_BeforeUpdate { @@ -26,7 +26,7 @@ function global:au_SearchReplace { } ".\tools\chocolateyInstall.ps1" = @{ - "$($refile)" = "$($Latest.FileName32)" + "$($refile)" = "`${1}$($Latest.FileName32)" } } }