Sed scripts to generate package version
Asked by
Javier Collado
In the case in which the package requires a more advanced new version generation, it would be nice to be able to provide a small sed script that takes as input the version in debian/changelog and prints the new version with substitution variables as output.
For example, if the version is something like:
0.2-0ubuntu1
and it's expected to replace ubuntu with the target distribution (see question #153569) and the branch revision number is to be added as suffix, a sed script like the following would do the job:
s/ubuntu/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- bzr-builder Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jelmer Vernooij
- Solved:
- Last query:
- Last reply:
To post a message you must log in.