Skip to content

Commit

Permalink
Merge branch 'fix-regular-expression-pattern-for-semantic-versioning'…
Browse files Browse the repository at this point in the history
… of https://github.com/sasakisasaki/autoware-github-actions into fix-regular-expression-pattern-for-semantic-versioning

Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp>
  • Loading branch information
sasakisasaki committed Sep 13, 2024
2 parents f3159da + 308248e commit 5cb788f
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions create-prs-to-update-vcs-repositories/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,14 @@ None.

## What kind of tags are handled

- Monitors all vcs-imported repositories in the ```autoware.repos``` (if default) which have a version with regular expression pattern ```r'\b(?<![^\s])\d+\.\d+\.\d+(?![-\w.+])\b'``` (if default).
- Monitors all vcs-imported repositories in the `autoware.repos` (if default) which have a version with regular expression pattern `r'\b(?<![^\s])\d+\.\d+\.\d+(?![-\w.+])\b'` (if default).
- This pattern match/mismatches for the following examples:
<<<<<<< HEAD
```plaintext
=======
```
>>>>>>> 308248e3781ee8a9a8ac01373921c19eaeed93ce
"0.0.1", # match
"0.1.0", # match
"1.0.0", # match
Expand All @@ -83,19 +88,31 @@ None.
```

## What kind of version update is possible?

- If there is a new version with pattern matched in the vcs-imported repositories, create a PR for each repository, respectively.
- The valid/invalid version update cases are as follows:
- Valid ones (PR must be created):
<<<<<<< HEAD
```plaintext
=======
```
>>>>>>> 308248e3781ee8a9a8ac01373921c19eaeed93ce
0.0.1 => 0.0.2
1.1.1 => 1.2.1
2.4.3 => 3.0.0
```
<<<<<<< HEAD
- Invalid ones (PR is not created):
```plaintext
=======
- Invalid ones (PR is not created):
```
>>>>>>> 308248e3781ee8a9a8ac01373921c19eaeed93ce
main => 0.0.1
v0.0.1 => 0.0.2
xxx-0.0.1 => 0.0.9
0.0.1-rc1 => 0.0.2
```
```

0 comments on commit 5cb788f

Please sign in to comment.