Use tag 'différé' instead of '2222-02-22'. Fix #3
This commit is contained in:
parent
6c6e894ad2
commit
4ff736d58c
1 changed files with 9 additions and 1 deletions
|
@ -808,10 +808,18 @@ export async function generateConsolidatedTextGit(
|
|||
message: [modifyingTextTitle, summary, messageLines]
|
||||
.filter((block) => block !== undefined)
|
||||
.join("\n\n"),
|
||||
ref: future ? "refs/heads/futur" : undefined,
|
||||
})
|
||||
}
|
||||
if (modifyingTextIndex === modifyingTexteVersionArray.length - 1) {
|
||||
await git.tag({ dir: targetDir, fs, ref: date })
|
||||
await git.tag({
|
||||
dir: targetDir,
|
||||
fs,
|
||||
ref:
|
||||
date === "2222-02-22"
|
||||
? "différé" // mise en vigueur différée à une date non précisée
|
||||
: date,
|
||||
})
|
||||
}
|
||||
|
||||
const t4 = performance.now()
|
||||
|
|
Loading…
Add table
Reference in a new issue