FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
flipper-linux-kernel/scripts/build-version at test-csi · flipperdevices/flipper-linux-kernel · GitHub
flipperdevices
/
flipper-linux-kernel
Public
forked from
torvalds/linux
Notifications
You must be signed in to change notification settings
Fork
14
Star
38
Code
Issues
9
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
flipper-linux-kernel
/
scripts
/
build-version
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
10 lines (7 loc) · 177 Bytes
Breadcrumbs
flipper-linux-kernel
/
scripts
/
build-version
Copy path
File metadata and controls
executable file
·
10 lines (7 loc) · 177 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
#!
/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}
Back
|
FazBrowse Home
|
New Git URL