Skip to content

Commit

Permalink
fux update icons version
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Apr 4, 2022
1 parent 5cc7b51 commit 4ad236f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

Expand Down

0 comments on commit 4ad236f

Please sign in to comment.