Sha256: 8f6cd3419750e187a6f8b6aff4cb94b5b01a817f3ae0830e834984ccde067f74
Contents?: true
Size: 668 Bytes
Versions: 6
Compression:
Stored size: 668 Bytes
Contents
# frozen_string_literal: true require "pathname" require "sod" require "spek" 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
6 entries across 6 versions & 1 rubygems