Sha256: 06b0c46ef2d04c1de3c7ff7d4d90d84a505ffaf5e23a0af1877e5dbeffd7b911

Contents?: true

Size: 580 Bytes

Versions: 1

Compression:

Stored size: 580 Bytes

Contents

skip_docs

lane :release do
  code_review
  sh('bundle exec rake build')
  gem_path = "pkg/xcmonkey-#{version}.gem"
  sh("gem push ../#{gem_path}")
  set_github_release(
    repository_name: 'alteral/xcmonkey',
    api_token: ENV.fetch("GITHUB_TOKEN", nil),
    name: "xcmonkey v#{version}",
    tag_name: "v#{version}",
    description: "v#{version}",
    commitish: git_branch,
    upload_assets: [gem_path]
  )
end

lane :code_review do
  sh('bundle exec rake')
end

def version
  version_path = '../lib/xcmonkey/version.rb'
  File.read(version_path).scan(/\d+/).join('.')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xcmonkey-0.1.1 fastlane/Fastfile