Sha256: 3eeeaeb9ce3527d54a41dc1f417bd9d069d9be30a0b23241e4adbb8a9053b09d

Contents?: true

Size: 558 Bytes

Versions: 35

Compression:

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

35 entries across 35 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-7.1.6 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.5 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.3 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.2 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.1 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.0 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.12 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.11 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.10 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.9 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.8 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.7 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.6 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.5 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.4 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.3 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.2 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.1 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.0 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.0.0.beta29 lib/tasks/changelog.rake