1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-08-31 01:30:04 +02:00

build improvements

This commit is contained in:
codecalm
2024-02-28 02:25:28 +01:00
parent 6426e6081f
commit f211bf2e05
2 changed files with 5 additions and 5 deletions

View File

@@ -10,15 +10,15 @@ if (version) {
let newIcons = [], modifiedIcons = [], renamedIcons = []
ret.replace(/A\s+icons\/([a-z0-9-]+)\.svg/g, function(m, fileName) {
ret.replace(/A\s+icons\/([a-z0-9-\/]+)\.svg/g, function(m, fileName) {
newIcons.push(fileName)
})
ret.replace(/M\s+icons\/([a-z0-9-]+)\.svg/g, function(m, fileName) {
ret.replace(/M\s+icons\/([a-z0-9-\/]+)\.svg/g, function(m, fileName) {
modifiedIcons.push(fileName)
})
ret.replace(/R[0-9]+\s+icons\/([a-z0-9-]+)\.svg\s+icons\/([a-z0-9-]+).svg/g, function(m, fileNameBefore, fileNameAfter) {
ret.replace(/R[0-9]+\s+icons\/([a-z0-9-\/]+)\.svg\s+icons\/([a-z0-9-\/]+).svg/g, function(m, fileNameBefore, fileNameAfter) {
renamedIcons.push([fileNameBefore, fileNameAfter])
})

View File

@@ -101,9 +101,9 @@
"addUntrackedFiles": true,
"changelog": "pnpm run --silent changelog --latest-version ${latestTag}",
"tagName": "v${version}",
"_requireBranch": "master",
"requireBranch": "main",
"requireCommits": true,
"requireCleanWorkingDir": false
"requireCleanWorkingDir": true
},
"github": {
"release": true