Sha256: 0b16787e4a68930a71fa0140048eba89e9d0db0add4898832cbb95af0b4807b1
Contents?: true
Size: 634 Bytes
Versions: 3
Compression:
Stored size: 634 Bytes
Contents
# frozen_string_literal: true require "sod" require "versionaire" module Milestoner module CLI module Actions module Build # Handles build version. class Version < Sod::Action include Import[:input] using Versionaire::Cast description "Set version." ancillary "Calculated from commit trailers when not supplied." on %w[-v --version], argument: "[VERSION]" default { Container[:configuration].project_version } def call(version = nil) = input.project_version = Version(version || default) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems