projects
/
platform
/
kernel
/
linux-starfive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge tag 'pm-6.5-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[platform/kernel/linux-starfive.git]
/
init
/
build-version
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}