Skip to content

Commit 1bfb38c

Browse files
authored
step by step release process (#86)
1 parent d8f7839 commit 1bfb38c

File tree

7 files changed

+51
-18
lines changed

7 files changed

+51
-18
lines changed

.github/workflows/ci.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,14 @@ jobs:
3535
pip install mkdocs-open-in-new-tab
3636
pip install mkdocs-with-pdf
3737
38+
- name: Build check
39+
run: mkdocs build
40+
3841
- name: Deploy
3942
run: mkdocs gh-deploy --force --verbose
43+
44+
- name: Upload PDF
45+
uses: actions/[email protected]
46+
with:
47+
name: pdf-export
48+
path: site/OWASP_Developer_Guide.pdf

.github/workflows/pr.yaml

+1-7
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,5 @@ jobs:
7272
pip install mkdocs-open-in-new-tab
7373
pip install mkdocs-with-pdf
7474
75-
- name: Build
75+
- name: Build check
7676
run: mkdocs build
77-
78-
- name: Upload PDF
79-
uses: actions/[email protected]
80-
with:
81-
name: pdf-export
82-
path: site/OWASP_Developer_Guide.pdf

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
!CNAME
99
!docs/
1010
!docs/assets/
11-
!docs/assets/exports/
12-
!docs/assets/exports/*.pdf
1311
!docs/assets/images/
1412
!docs/assets/images/*.png
1513
!docs/assets/images/logos/

.release-note-template.md

-8
This file was deleted.

contributing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The pull requests have checks applied to them:
9999
The pipeline will apply checks to all pull-requests, and will fail on any error.
100100
To run these checks locally before pushing a commit, run these commands from the top directory:
101101

102-
1. Link checker: `lychee --max-retries 5 --exclude-path './_includes/*.html' './**/*.md'`
102+
1. Link checker: `lychee --max-retries 5 './**/*.md'`
103103
2. Markdown linter: `markdownlint-cli2 **/*.md`
104104
3. Spell checker: `pyspelling --config .spellcheck-en.yaml` (for English language version)
105105

-5.93 MB
Binary file not shown.

release-process.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
### Release process
2+
3+
The [web document][latest] is always the latest version that has been accepted via the pull request process.
4+
5+
If major or significant minor changes are made then it is good to tag this with a semantic version, such as `4.1.8`.
6+
7+
To do this:
8+
9+
1. Ensure that all pull-requests are up to date
10+
2. navigate to the [release area][release]
11+
3. Click on the 'Draft a new release' button to create a [new release][new-release]
12+
4. Choose a tag, for example `v4.1.8` and select target branch to be 'main'
13+
5. Provide the release title, such as 'Version 4.1.8'
14+
6. Describe the release in the Description, consider including the text below
15+
7. Obtain the latest PDF file form the latest (successful) [commit action][commits]
16+
8. Upload this PDF file to the draft release
17+
9. Ensure 'Set as the latest release' is selected
18+
10. Apply 'Publish release'
19+
11. Announce on Slack channel
20+
12. Announce on Blue Sky channel
21+
22+
23+
```
24+
Contact the current [leaders][leaders] for any queries about this version.
25+
26+
The [PDF][pdf-guide] version of the [web document][devguide] can be downloaded for version 4.1.8 .
27+
28+
[devguide]: devguide.owasp.org
29+
[leaders]: https://github.com/OWASP/www-project-developer-guide/blob/main/leaders.md
30+
[pdf-guide]: https://github.com/OWASP/threat-dragon/releases/download/v4.1.8/OWASP_Developer_Guide-V4.1.8.pdf
31+
```
32+
33+
----
34+
35+
OWASP DevGuide: _accessible security for developers_
36+
37+
[commits]: https://github.com/OWASP/DevGuide/actions/workflows/ci.yaml
38+
[latest]: https://devguide.owasp.org/
39+
[new-release]: https://github.com/OWASP/DevGuide/releases/new
40+
[release]: https://github.com/OWASP/DevGuide/releases

0 commit comments

Comments
 (0)