Sha256: 3464743ca84bd487a0f105881f40f39b2aab9ccaa6e2c771945f7bf6e88fa1e8

Contents?: true

Size: 585 Bytes

Versions: 8

Compression:

Stored size: 585 Bytes

Contents

# frozen_string_literal: true

desc "Generate a Changelog"
task :changelog do
  # rubocop:disable Style/MutableConstant
  CHANGELOG_CMD ||= %w[
    github_changelog_generator
    --no-verbose
    --no-http-cache
    --user
    mhenrixon
    --project
    sidekiq-unique-jobs
    --token
  ]
  ADD_CHANGELOG_CMD      ||= "git add --all"
  COMMIT_CHANGELOG_CMD   ||= "git commit -a -m 'Update changelog'"
  # rubocop:enable Style/MutableConstant

  sh("git checkout master")
  sh(*CHANGELOG_CMD.push(ENV["CHANGELOG_GITHUB_TOKEN"]))
  sh(ADD_CHANGELOG_CMD)
  sh(COMMIT_CHANGELOG_CMD)
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-7.0.0.beta9 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.0.beta8 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.0.beta7 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.0.beta6 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.0.beta5 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.0.beta4 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.0.beta3 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.0.beta2 lib/tasks/changelog.rake