pantograph/lib/pantograph/actions/number_of_commits.rb in pantograph-0.1.15 vs pantograph/lib/pantograph/actions/number_of_commits.rb in pantograph-0.1.16
- old
+ new
@@ -45,11 +45,11 @@
'The total number of all commits in current git branch'
end
def self.output
[
- 'NUMBER_OF_COMMITS', 'Total number of git commits'
+ ['NUMBER_OF_COMMITS', 'Total number of git commits']
]
end
def self.authors
['onevcat', 'samuelbeek', 'johnknapprs']
@@ -64,10 +64,10 @@
'
ENV["VERSION_NAME"] = number_of_commits
',
'
build_number = number_of_commits(all: true)
- increment_build_number(build_number: build_number)
+ puts build_number
'
]
end
def self.category