Skip to content

Commit 4ae4185

Browse files
committed
Converted bumpDateVer() to bumpVersion({ format }) ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/utils/bump]
1 parent c810c34 commit 4ae4185

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

utils/bump/chatbots.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
for (const chatbotFile of chatbotFiles) {
7272
const chatbotName = path.basename(chatbotFile, '.user.js')
7373
bump.log.working(`\nProcessing ${chatbotName}...\n`)
74-
const bumpResult = bump.bumpDateVer({ filePath: chatbotFile })
74+
const bumpResult = bump.bumpVersion({ format: 'dateVer', filePath: chatbotFile })
7575
if (bumpResult) {
7676
const { oldVer, newVer } = bumpResult
7777
bump.log.success(`${chatbotName} version bumped!\n`)

utils/bump/resources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
}
128128
if (fileUpdated) {
129129
console.log(`${ !bump.log.endedWithLineBreak ? '\n' : '' }Bumping userscript version...`)
130-
bump.bumpDateVer({ filePath: userJSfilePath }) ; filesUpdatedCnt++
130+
bump.bumpVersion({ format: 'dateVer', filePath: userJSfilePath }) ; filesUpdatedCnt++
131131
}
132132
}
133133

0 commit comments

Comments
 (0)