diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-12-26 09:58:43 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-12-26 17:11:57 +0900 |
commit | b466f1a5fbcb7bc5dcd0b624e09261e5c737d9a6 (patch) | |
tree | 91b28c68a0e24a82940e1015a5acbb15b0a52fa2 /defs | |
parent | 324656e5a519f9369cc2eae6df6b7dfa73b1c036 (diff) |
Reset ABI version [ci skip]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7022
Diffstat (limited to 'defs')
-rw-r--r-- | defs/gmake.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk index c335f869b9..e0ca80b853 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -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) |