Skip to content

Commit e76c6e3

Browse files
committed
Add ANNUAL-UPDATES.md
1 parent b670c13 commit e76c6e3

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

ANNUAL-UPDATES.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Preparing for a New Calendar Year
2+
3+
Much of this process is automated, but there are a few things which need to be
4+
updated by hand every year. Hopefully we can automate more and more, but this
5+
should be a good starting point checklist for what needs to be done before a
6+
new calendar can be launched.
7+
8+
## Create Scaffolding
9+
10+
```shell
11+
mkdir -p 2024
12+
cp 2023/advent.ini 2024
13+
```
14+
15+
## Find and Replace
16+
17+
The calendar year is hard coded in various places. Update them to the current
18+
year in:
19+
20+
```shell
21+
perl -pi -e 's/2023/2024/g' \
22+
in-season.html \
23+
script/build-site.sh \
24+
script/stats.sh \
25+
2024/advent.ini
26+
```

0 commit comments

Comments
 (0)