mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Add "make bumpversion"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
bd3773a17f
commit
fdbcf78909
|
@ -390,6 +390,7 @@ Finally run all tests with "make config-{clang,gcc,gcc-4.8}":
|
||||||
Release:
|
Release:
|
||||||
|
|
||||||
- set YOSYS_VER to x.y.z in Makefile
|
- set YOSYS_VER to x.y.z in Makefile
|
||||||
|
- remove "bumpversion" target from Makefile
|
||||||
- update version string in CHANGELOG
|
- update version string in CHANGELOG
|
||||||
git commit -am "Yosys x.y.z"
|
git commit -am "Yosys x.y.z"
|
||||||
|
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -119,6 +119,9 @@ YOSYS_VER := 0.9+1
|
||||||
GIT_REV := $(shell cd $(YOSYS_SRC) && git rev-parse --short HEAD 2> /dev/null || echo UNKNOWN)
|
GIT_REV := $(shell cd $(YOSYS_SRC) && git rev-parse --short HEAD 2> /dev/null || echo UNKNOWN)
|
||||||
OBJS = kernel/version_$(GIT_REV).o
|
OBJS = kernel/version_$(GIT_REV).o
|
||||||
|
|
||||||
|
bumpversion:
|
||||||
|
sed -i "/^YOSYS_VER := / s/+[0-9][0-9]*$$/+`git log --oneline 8a4c6e6.. | wc -l`/;" Makefile
|
||||||
|
|
||||||
# set 'ABCREV = default' to use abc/ as it is
|
# set 'ABCREV = default' to use abc/ as it is
|
||||||
#
|
#
|
||||||
# Note: If you do ABC development, make sure that 'abc' in this directory
|
# Note: If you do ABC development, make sure that 'abc' in this directory
|
||||||
|
|
Loading…
Reference in a new issue