Sha256: 8145098bb8be90841a12cc68da77fa6cd4a286a76ae24b6b5a26b7820185b633

Contents?: true

Size: 578 Bytes

Versions: 4

Compression:

Stored size: 578 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

4 entries across 4 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-7.0.0.beta13 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.0.beta12 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.0.beta11 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.0.beta10 lib/tasks/changelog.rake