Sha256: c462786033f457c47149f12a282078860ea82b3c78141e97a3651cbb40310895

Contents?: true

Size: 254 Bytes

Versions: 17

Compression:

Stored size: 254 Bytes

Contents

require 'structured_changelog'

desc 'Display the Current Version'
task 'changelog:version', [:path] do |_task, arguments|
  path = arguments.to_h.fetch(:path) { "CHANGELOG.md" }

  changelog = StructuredChangelog.new(path)

  puts changelog.version
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
structured_changelog-0.11.2 lib/structured_changelog/tasks/version.rb
structured_changelog-0.11.1 lib/structured_changelog/tasks/version.rb
structured_changelog-0.11.0 lib/structured_changelog/tasks/version.rb
structured_changelog-0.10.2 lib/structured_changelog/tasks/version.rb
structured_changelog-0.10.1 lib/structured_changelog/tasks/version.rb
structured_changelog-0.10.0 lib/structured_changelog/tasks/version.rb
structured_changelog-0.8.3 lib/structured_changelog/tasks/version.rb
structured_changelog-0.8.2 lib/structured_changelog/tasks/version.rb
structured_changelog-0.8.1 lib/structured_changelog/tasks/version.rb
structured_changelog-0.8.0 lib/structured_changelog/tasks/version.rb
structured_changelog-0.7.2 lib/structured_changelog/tasks/version.rb
structured_changelog-0.7.1 lib/structured_changelog/tasks/version.rb
structured_changelog-0.7.0 lib/structured_changelog/tasks/version.rb
structured_changelog-0.6.2 lib/structured_changelog/tasks/version.rb
structured_changelog-0.6.1 lib/structured_changelog/tasks/version.rb
structured_changelog-0.6.0 lib/structured_changelog/tasks/version.rb
structured_changelog-0.5.0 lib/structured_changelog/tasks/version.rb