Commit 20968a8
committed
Adjust release workflow for new "v"-prefixed tag format
The Go modules system requires the release Git tags to start with a "v" prefix. Historically, this project has used the
otherwise more sensible approach of using the exact version number as a tag name.
This meant that the module could only be used as a dependency via "pseudo-versions".
For example, `go get github.com/arduino/libraries-repository-engine@latest` currently adds this travesty to your
`go.mod` file:
```text
require github.com/arduino/libraries-repository-engine v0.0.0-20220321045648-4999750bf965
```
This causes several problems:
- Unstable non-release versions of the module are more likely to be used by dependent projects
- Automated release update services (i.e., Dependabot) are not available, resulting in dependent projects using outdated
versions of the module
The release workflow was configured for the previous non-prefixed tag format, so it must be adjusted for the new "v"
prefixed tag format.1 parent 4999750 commit 20968a8
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments