Sha256: 15a0ac1742367a2fab76d2209ae8b118426110c46a29a2d5d134eba014f6349e

Contents?: true

Size: 526 Bytes

Versions: 2

Compression:

Stored size: 526 Bytes

Contents

# frozen_string_literal: true

# 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

desc "Generate a Changelog"
task :changelog do
  sh("git checkout master")
  sh(*CHANGELOG_CMD.push(ENV["CHANGELOG_GITHUB_TOKEN"]))
  sh(ADD_CHANGELOG_CMD)
  sh(COMMIT_CHANGELOG_CMD)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-7.0.13 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.7 lib/tasks/changelog.rake