mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
11 lines
177 B
Text
11 lines
177 B
Text
![]() |
#!/bin/sh
|
||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||
|
|
||
|
prev_ver=$(cat .version 2>/dev/null) &&
|
||
|
ver=$(expr ${prev_ver} + 1 2>/dev/null) ||
|
||
|
ver=1
|
||
|
|
||
|
echo ${ver} > .version
|
||
|
|
||
|
echo ${ver}
|