Skip to content

Commit

Permalink
Merge pull request #801 from tschmidtb51/versioning
Browse files Browse the repository at this point in the history
Semantic Versioning - fix examples
  • Loading branch information
tschmidtb51 authored Oct 18, 2024
2 parents 395fbfe + 392cc47 commit 2d4f104
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions csaf_2.1/prose/edit/src/schema-elements-01-defs-11-version.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ This results in the following rules:
1.0.0-0.3.7
1.0.0-alpha
1.0.0-alpha.1
1.0.0-x-y-z.
1.0.0-x-y-z.--
1.0.0-x.7.z.92
```

Expand All @@ -124,7 +124,7 @@ This results in the following rules:

```
1.0.0+20130313144700
1.0.0+21AF26D3-117B344092BD
1.0.0+21AF26D3----117B344092BD
1.0.0-alpha+001
1.0.0-beta+exp.sha.5114f85
```
Expand Down Expand Up @@ -163,3 +163,15 @@ This results in the following rules:
```
1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0
```

Note, that the following values do no conform the semantic versioning described above.

*Examples 6 (which are invalid):*

```
1.16.13.14-Cor
1.0.0-x-y-z.–
1.0.0+21AF26D3—-117B344092BD
2.5.20+3f93da6b+7cc
3.20.0-00
```

0 comments on commit 2d4f104

Please sign in to comment.