mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2025-07-14 18:22:22 +03:00
Remove date from version, leave just semver
This commit is contained in:
parent
ffd5fb5306
commit
b0c776d4b9
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "runet-censorship-bypass",
|
"name": "runet-censorship-bypass",
|
||||||
"version": "0.0.2",
|
"version": "2.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"homepage": "https://github.com/ilyaigpetrov/copy-unicode-urls#readme",
|
"homepage": "https://github.com/ilyaigpetrov/copy-unicode-urls#readme",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
|
|
@ -32,10 +32,9 @@ const ifAllArgsProvided = requiredFlags.reduce(
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const currentDate = new Date().toISOString().split('T')[0].replaceAll('-', '');
|
|
||||||
const semver = process.env.npm_package_version;
|
const semver = process.env.npm_package_version;
|
||||||
const context = {
|
const context = {
|
||||||
version: `${currentDate}.${semver}`,
|
version: semver,
|
||||||
edition: args.edition,
|
edition: args.edition,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user