You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project uses several helper scripts to keep the Markdown posts and front matter consistent. These scripts can modify many files across the repository.
4
+
5
+
Because these updates are often large-scale, test them on a separate branch before merging.
6
+
7
+
## Running automation scripts
8
+
9
+
1. Start from an up-to-date branch and create a new working branch:
10
+
11
+
```bash
12
+
git checkout master
13
+
git pull
14
+
git checkout -b automation-update
15
+
```
16
+
17
+
2. Run the automation scripts:
18
+
19
+
```bash
20
+
./run_scripts.sh
21
+
```
22
+
23
+
The scripts may rename files and update front matter, leading to many modified files.
24
+
25
+
3. Review the changes:
26
+
27
+
```bash
28
+
git status
29
+
git diff
30
+
```
31
+
32
+
Look carefully over the diff before committing because the updates can be large.
33
+
34
+
4. Commit the desired changes and open a pull request.
35
+
36
+
Running the scripts on a clean branch helps keep your history tidy and makes code review easier.
0 commit comments