Skip to content

Commit 5df3c78

Browse files
committed
add CI check for zstd_manual before release
ensures it's properly updated
1 parent 1bef878 commit 5df3c78

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release_check.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Checks before release
2+
3+
on:
4+
push:
5+
branches:
6+
- release
7+
8+
jobs:
9+
verify-manual:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out repository
13+
uses: actions/checkout@v3
14+
15+
- name: Save current manual
16+
run: mv doc/zstd_manual.html doc/zstd_manual_saved.html
17+
18+
- name: Generate new manual
19+
run: make manual
20+
21+
- name: Compare manuals
22+
run: |
23+
if ! cmp -s doc/zstd_manual.html doc/zstd_manual_saved.html; then
24+
echo "The manual was not updated before release !"
25+
exit 1
26+
fi

0 commit comments

Comments
 (0)