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:
@@ -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])
|
||||
})
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user