Sha256: 17eb82278afd6c526558376fd1dc1d7d33a5450bec12d27b3549bbe97ec28035

Contents?: true

Size: 535 Bytes

Versions: 25

Compression:

Stored size: 535 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 main")
  sh(*CHANGELOG_CMD.push(ENV.fetch("CHANGELOG_GITHUB_TOKEN", nil)))
  sh(ADD_CHANGELOG_CMD)
  sh(COMMIT_CHANGELOG_CMD)
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-8.0.10 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.33 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.32 lib/tasks/changelog.rake
sidekiq-unique-jobs-8.0.9 lib/tasks/changelog.rake
sidekiq-unique-jobs-8.0.8 lib/tasks/changelog.rake
sidekiq-unique-jobs-8.0.7 lib/tasks/changelog.rake
sidekiq-unique-jobs-8.0.6 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.31 lib/tasks/changelog.rake
sidekiq-unique-jobs-8.0.5 lib/tasks/changelog.rake
sidekiq-unique-jobs-8.0.4 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.30 lib/tasks/changelog.rake
sidekiq-unique-jobs-8.0.3 lib/tasks/changelog.rake
sidekiq-unique-jobs-8.0.2 lib/tasks/changelog.rake
sidekiq-unique-jobs-8.0.1 lib/tasks/changelog.rake
sidekiq-unique-jobs-8.0.0 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.29 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.28 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.27 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.26 lib/tasks/changelog.rake
sidekiq-unique-jobs-7.1.25 lib/tasks/changelog.rake