add missing toString in release pipeline

This commit is contained in:
Adam Brown 2023-01-08 12:36:26 +00:00
parent 5eedb31d46
commit c5b240cc3c
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ const incrementVersionFile = async (github, branchName) => {
const today = new Date()
const month = (today.getMonth() + 1).toString().padStart(2, '0')
const day = (today.getDay() + 1).toString().padStart(2, '0')
const year = today.getFullYear().slice(-2)
const year = today.getFullYear().toString().slice(-2)
const todayFormatted = `${year}/${month}/${day}`
let updatedVersionName = undefined