blob: 537d458150832a66501c74f7d544a9e618d9f7c1 [file] [log] [blame]
Masahiro Yamada2df8220c2022-08-28 11:39:53 +09001#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0-only
3
4prev_ver=$(cat .version 2>/dev/null) &&
5ver=$(expr ${prev_ver} + 1 2>/dev/null) ||
6ver=1
7
8echo ${ver} > .version
9
10echo ${ver}