mirror of
https://github.com/ruby/ruby.git
synced 2026-08-03 11:18:06 +08:00
Reset ABI version [ci skip]
This commit is contained in:
parent
324656e5a5
commit
b466f1a5fb
Notes:
git
2022-12-26 08:12:15 +00:00
@ -484,6 +484,9 @@ ruby.pc: $(filter-out ruby.pc,$(ruby_pc))
|
||||
matz: up
|
||||
$(eval MINOR := $(shell expr $(MINOR) + 1))
|
||||
$(eval message := Development of $(MAJOR).$(MINOR).0 started.)
|
||||
$(eval file := include/ruby/version.h)
|
||||
sed -i~ "s/^\(#define RUBY_API_VERSION_MINOR\) .*/\1 $(MINOR)/" $(srcdir)/$(file)
|
||||
$(GIT) -C $(srcdir) commit -m "$(message)" $(file)
|
||||
$(eval files := include/ruby/version.h include/ruby/internal/abi.h)
|
||||
sed -i~ \
|
||||
-e "s/^\(#define RUBY_API_VERSION_MINOR\) .*/\1 $(MINOR)/" \
|
||||
-e "s/^\(#define RUBY_ABI_VERSION\) .*/\1 0/" \
|
||||
$(files:%=$(srcdir)/%)
|
||||
$(GIT) -C $(srcdir) commit -m "$(message)" $(files)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user