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
bac3ca6765
commit
97d46bb6ad
3
index.js
3
index.js
@ -21,7 +21,6 @@ async function run() {
|
|||||||
const labelInput = core.getInput('label');
|
const labelInput = core.getInput('label');
|
||||||
|
|
||||||
const filePath = getProjectInfoFilePath(filePathInput);
|
const filePath = getProjectInfoFilePath(filePathInput);
|
||||||
const file = await getFile(filePath);
|
|
||||||
|
|
||||||
|
|
||||||
console.log(`Label: ${labelInput}`)
|
console.log(`Label: ${labelInput}`)
|
||||||
@ -53,7 +52,7 @@ async function run() {
|
|||||||
// join the parts back together
|
// join the parts back together
|
||||||
const newVersion = versionParts.join('.');
|
const newVersion = versionParts.join('.');
|
||||||
|
|
||||||
file = updateProjectVersion(filePath, newVersion);
|
const file = updateProjectVersion(filePath, newVersion);
|
||||||
|
|
||||||
console.log(`Old version: ${version}. New version: ${newVersion}`)
|
console.log(`Old version: ${version}. New version: ${newVersion}`)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user