Skip to content

Commit

Permalink
Release 4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed Feb 24, 2020
1 parent 15ad1fb commit e3c6884
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
dotnet-version: 3.1.101

- name: ReportGenerator
uses: danielpalme/ReportGenerator-GitHub-Action@v4.4.7
uses: danielpalme/ReportGenerator-GitHub-Action@v4.5.0
with:
reports: 'coverage.xml' # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported.
targetdir: 'coveragereport' # REQUIRED # The directory where the generated report should be saved.
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
const core = __importStar(__webpack_require__(470));
const exec = __importStar(__webpack_require__(986));
const fs = __importStar(__webpack_require__(747));
const VERSION = '4.4.7';
const VERSION = '4.5.0';
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ReportGenerator",
"version": "4.4.7",
"version": "4.5.0",
"description": "",
"main": "lib/reportgenerator.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/reportgenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as core from '@actions/core';
import * as exec from '@actions/exec';
import * as fs from 'fs';

const VERSION = '4.4.7';
const VERSION = '4.5.0';

async function run() {
try {
Expand Down
13 changes: 13 additions & 0 deletions update-version.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
param(
[string]$From,
[string]$To)

Write-Host $From
Write-Host $To

((Get-Content -path package.json -Raw) -replace $From, $To) | Set-Content -Path package.json -NoNewline
((Get-Content -path package-lock.json -Raw) -replace $From, $To) | Set-Content -Path package-lock.json -NoNewline
((Get-Content -path README.md -Raw) -replace $From, $To) | Set-Content -Path README.md -NoNewline
((Get-Content -path src\reportgenerator.ts -Raw) -replace $From, $To) | Set-Content -Path src\reportgenerator.ts -NoNewline

npm run build

0 comments on commit e3c6884

Please sign in to comment.