chore: Fix changelog version to show
This commit is contained in:
parent
7d5d15bddd
commit
81a6427e01
3 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ function replaceNameWithAccent(name: string, accentName: string): string {
|
||||||
* @returns {string}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
export function replaceSVGColour(filecontent: string, colour: string): string {
|
export function replaceSVGColour(filecontent: string, colour: string): string {
|
||||||
return filecontent.replace(new RegExp('.st0\{fill:\s{0,}#([a-zA-Z0-9]{6})|path fill="#([a-zA-Z0-9]{6})"'), ($0, $1, $2) => {
|
return filecontent.replace(new RegExp('#([a-zA-Z0-9]{6})|fill="#([a-zA-Z0-9]{6})"'), ($0, $1, $2) => {
|
||||||
|
|
||||||
colour = colour.replace('#', '');
|
colour = colour.replace('#', '');
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ const PACKAGE_JSON: IPackageJSON = require(path.join(process.cwd(), './package.j
|
||||||
let variants: IDefaultsThemeVariantColours = getDefaultValues().themeVariantsColours;
|
let variants: IDefaultsThemeVariantColours = getDefaultValues().themeVariantsColours;
|
||||||
|
|
||||||
function writeIconVariant(filepath: string, destpath: string, colour: string): void {
|
function writeIconVariant(filepath: string, destpath: string, colour: string): void {
|
||||||
let regexp = new RegExp('.st0\{fill:(#[a-zA-Z0-9]{3,6})')
|
let regexp = new RegExp('(#[a-zA-Z0-9]{3,6})')
|
||||||
|
|
||||||
filepath = path.join(process.cwd(), PATHS.ICONS, filepath);
|
filepath = path.join(process.cwd(), PATHS.ICONS, filepath);
|
||||||
destpath = path.join(process.cwd(), PATHS.ICONS, destpath);
|
destpath = path.join(process.cwd(), PATHS.ICONS, destpath);
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"_folder_assets_open"
|
"_folder_assets_open"
|
||||||
],
|
],
|
||||||
"changelog": {
|
"changelog": {
|
||||||
"lastversion": "1.0.5"
|
"lastversion": "1.1.0"
|
||||||
},
|
},
|
||||||
"icons": {
|
"icons": {
|
||||||
"theme": {
|
"theme": {
|
||||||
|
|
Loading…
Reference in a new issue