Add a deployment command group to the website script

This group has one command so far: next-tag. It looks at the git tag list and
figured out the next deployment tag. For the most part tags are named like so:

    deploy-%Y-%m-%d-NN

The middle segments are year-month-day, and the last segment is an incrementing
counter. For the most part this number will be 01. On days when I deploy more than
once, it will increment.
This commit is contained in:
Eryn Wells 2025-08-29 08:59:03 -06:00
parent 69760a802d
commit 2688e4e339
3 changed files with 75 additions and 1 deletions

View file

@ -9,10 +9,12 @@ import argparse
from typing import List
from erynwells_me.scripting import Command
from erynwells_me.weeknotes import WeeknotesCommand
from erynwells_me.deployment import DeploymentCommand
COMMANDS: List[Command] = [
WeeknotesCommand(),
DeploymentCommand(),
]