chore: Fix changelog version to show

This commit is contained in:
equinusocio 2017-11-04 23:15:37 +01:00
parent 7d5d15bddd
commit 81a6427e01
3 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ function replaceNameWithAccent(name: string, accentName: string): string {
* @returns {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('#', '');

View file

@ -14,7 +14,7 @@ const PACKAGE_JSON: IPackageJSON = require(path.join(process.cwd(), './package.j
let variants: IDefaultsThemeVariantColours = getDefaultValues().themeVariantsColours;
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);
destpath = path.join(process.cwd(), PATHS.ICONS, destpath);

View file

@ -29,7 +29,7 @@
"_folder_assets_open"
],
"changelog": {
"lastversion": "1.0.5"
"lastversion": "1.1.0"
},
"icons": {
"theme": {