mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-22 22:06:42 +00:00
Update index
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
97d46bb6ad
commit
7326540b45
2
index.js
2
index.js
@ -204,7 +204,7 @@ function getProjectVersion(filePath) {
|
|||||||
}
|
}
|
||||||
function updateProjectVersion(filePath, newVersion) {
|
function updateProjectVersion(filePath, newVersion) {
|
||||||
|
|
||||||
const projectInfoFile = getFile(filePath);
|
let projectInfoFile = getFile(filePath);
|
||||||
|
|
||||||
// Update the version if the file is .csproj
|
// Update the version if the file is .csproj
|
||||||
if (filePath.match(/\.csproj/))
|
if (filePath.match(/\.csproj/))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user