class Albacore::Tasks::ReleaseData
The published message on a finished release
Attributes
artifacts[R]
The enumerable thing of artifacts that were created from the release
semver[R]
The semver that was released
Public Class Methods
new(semver, artifacts)
click to toggle source
Create a new ReleaseData
object with a semver (XSemVer::SemVer instance) and a list of artifacts
# File lib/albacore/tasks/release.rb, line 23 def initialize semver, artifacts raise ArgumentError, 'missing "semver" argument' unless semver raise ArgumentError, 'missing "artifacts" argument' unless artifacts raise ArgumentError, '"artifacts" should respond to #each' unless artifacts.respond_to? :each @semver = semver @artifacts = artifacts end