diff options
author | codecalm <codecalm@gmail.com> | 2022-04-05 00:14:12 +0200 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2022-04-05 00:14:12 +0200 |
commit | 4ad236f44993b1b9d57bbc5c5c87076bf996bd56 (patch) | |
tree | 3fbecd992c7d22f791bff762fb6a97d829767720 /gulpfile.js | |
parent | 18 new icons: `a-b-off`, `accessible-off`, `adjustments-off`, `alarm-off`, `a... (diff) | |
download | tabler-icons-4ad236f44993b1b9d57bbc5c5c87076bf996bd56.tar.xz |
fux update icons version
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js index e2ef08f9..a36fb97b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -722,11 +722,11 @@ gulp.task('update-icons-version', function (cb) { newVersion = argv['new-version'] || `${p.version}` if (version) { - cp.exec(`git diff v${version} HEAD --name-status`, function (err, ret) { + cp.exec(`grep -RiL "version: " ./src/_icons/*.svg`, function (err, ret) { let newIcons = [] - ret.replace(/[A]\s+src\/_icons\/([a-z0-9-]+)\.svg/g, function (m, fileName) { + ret.replace(/src\/_icons\/([a-z0-9-]+)\.svg/g, function (m, fileName) { newIcons.push(fileName) }) |