Merge Base
Register
Log in
ray
/
linux
Idle
Home
Notes
History
Branches
linux
/
scripts
/
build-version
at commit
c6c159fc
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}
We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect