Skip to content

Commit

Permalink
Merge pull request #976 from cucumber/message-meta
Browse files Browse the repository at this point in the history
Add new Meta message
  • Loading branch information
aslakhellesoy authored Apr 21, 2020
2 parents 7b37ee9 + 4271deb commit b0421ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions ruby/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8.1.0
5 changes: 4 additions & 1 deletion ruby/cucumber-demo-formatter.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# -*- encoding: utf-8 -*-

version = File.read(File.expand_path("VERSION", __dir__)).strip

Gem::Specification.new do |s|
s.name = 'cucumber-demo-formatter'
s.version = '8.1.0'
s.version = version
s.authors = ["Aslak Hellesøy"]
s.description = 'Cucumber Expressions - a simpler alternative to Regular Expressions'
s.summary = "cucumber-demo-formatter-#{s.version}"
Expand Down
7 changes: 1 addition & 6 deletions ruby/default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,7 @@ pre-release: remove-local-dependencies update-version update-dependencies gem

update-version:
ifdef NEW_VERSION
ifneq (,$(GEMSPEC))
sed -i "s/\(s\.version *= *'\)[0-9]*\.[0-9]*\.[0-9]*\('\)/\1$(NEW_VERSION)\2/" $(GEMSPEC)
endif
else
@echo -e "\033[0;31mNEW_VERSION is not defined. Can't update version :-(\033[0m"
exit 1
@echo "$(NEW_VERSION)" > VERSION
endif
.PHONY: update-version

Expand Down

0 comments on commit b0421ed

Please sign in to comment.