☰
Debian Codegraph
@
7.2.8-1
7.2.7-1
7.2.6-1
7.1.9-1
7.1.4-1
7.0.9-1
7.0.12-2
/
/
scripts
/
build-version
☽
☼
scripts/build-version
code
plain
raw
GPL-2
1991-2012 Linus Torvalds and many others
debian/copyright
1
#!/bin/sh
2
# SPDX-License-Identifier: GPL-2.0-only
3
4
prev_ver=$(cat .version 2>/dev/null) &&
5
ver=$(expr ${prev_ver} + 1 2>/dev/null) ||
6
ver=1
7
8
echo ${ver} > .version
9
10
echo ${ver}