File: _incr_version

package info (click to toggle)
nxt-python 3.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 812 kB
  • sloc: python: 6,857; xml: 22; makefile: 20; sh: 4
file content (5 lines) | stat: -rwxr-xr-x 226 bytes parent folder | download | duplicates (2)
1
2
3
4
5
#!/bin/sh -eux
sed -i pyproject.toml -e "s/^version = \"${1}\"/version = \"${2}\"/"
sed -i docs/conf.py -e "s/^release = \"${1}\"/release = \"${2}\"/"
git add pyproject.toml docs/conf.py
git commit -m "Update version to ${2}"