cmd/gorelease/testdata/alreadyexists/alreadyexists_verify.test
raw| 1 | mod=example.com/basic |
| 2 | base=v0.0.1 |
| 3 | release=v0.1.0 |
| 4 | success=false |
| 5 | # The contents below are a copy of the v0.0.1 contents - nothing has changed. |
| 6 | # But v0.1.0 already exists, so it should present a diagnostic. |
| 7 | -- want -- |
| 8 | # summary |
| 9 | v0.1.0 is not a valid semantic version for this release. |
| 10 | version v0.1.0 already exists |
| 11 | -- go.mod -- |
| 12 | module example.com/basic |
| 13 | |
| 14 | go 1.12 |
| 15 | -- a/a.go -- |
| 16 | package a |
| 17 | |
| 18 | func A() int { return 0 } |