Closed ostrolucky closed 5 years ago
Same issue
@ostrolucky there doesn't look like there's actually a problem with bump, it just found nowhere what the current version is, so it tells you that you can't bump it. But you can configure it manually to update arbitrary files, for instance this might be a valid bump.json
configuration file:
{
"files": {
"README.md": [
["^# stdinho ?v?(.*)", "# stdinho v[version]"]
]
}
}
Is there a kind of standard place where the version of the project should be located in PHP projects?
@amallia same for your repo, something like this for example will work:
{
"files": {
"README.md": [
["^# PISA: Performant Indexes and Search for Academia ?v?(.*)", "# PISA: Performant Indexes and Search for Academia v[version]"]
]
}
}
Maybe we could infer the current version from tags 🤔 let's track this here.
For others which get unsupported repository. You need to ensure you have a line which matches the regex including the base version number in the files statement.
additional: when incorrect json format is used in bump.json the error "Unsupported Repository" also appears
project: https://github.com/ostrolucky/stdinho