Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintain release notes using GitHub Actions #243

Merged
merged 1 commit into from
Jul 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name-template: "$NEXT_PATCH_VERSION"
tag-template: "v$NEXT_PATCH_VERSION"
categories:
- title: "⚠️ Breaking Changes"
label: "⚠️ Breaking"
- title: "✨ New Features"
label: "✨ Feature"
- title: "🐛 Bug Fixes"
label: "🐛 Bug Fix"
- title: "📚 Documentation"
label: "📚 Docs"
- title: "🏠 Housekeeping"
label: "🏠 Housekeeping"
change-template: "- $TITLE (#$NUMBER) @$AUTHOR"
no-changes-template: "- No changes"
template: |
$CHANGES
14 changes: 14 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Release Drafter

on:
push:
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102 changes: 1 addition & 101 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,101 +1 @@
# [master][]

* Your contribution here!
* Added option `:migration_command` to allow overriding the default `db:migrate` used.

# [1.5.0][] (May 15 2020)

* Handle restore of multiple asset manifests on rollback ([#226](https://github.com/capistrano/rails/pull/226))

# [1.4.0][] (Jun 2 2018)

* Added option ':assets_manifests' to support custom manifest file path ([#216](https://github.com/capistrano/rails/pull/216))

# [1.3.1][] (Nov 21 2017)

This release simply adds the MIT license to the capistrano-rails gemspec. There are no code changes. See [#205](https://github.com/capistrano/rails/issues/205).

# [1.3.0][] (Jun 9 2017)

* rails_assets_groups config option to set RAILS_GROUPS (https://github.com/capistrano/rails/pull/135)

# [1.2.3][] (Mar 4 2017)

* [#200](https://github.com/capistrano/rails/pull/200): Don't link public/assets if public is already linked - [@mattbrictson](https://github.com/mattbrictson)

# [1.2.2][] (Jan 10 2017)

* Restored compatibility with older versions of Rake (< 11.0.0), introduced in previous change. (@toupeira)

# [1.2.1][] (Dec 23 2016)

* Diff db directory recursively
* Avoid warning while running migrations on multiple servers (#189)

# [1.2.0][] (Oct 25 2016)

* Diff entire db directory when determining if migrations are needed

# 1.1.8 (Sep 13 2016)

* Handle arrays passed into `normalize_asset_timestamps` correctly (#184)

# 1.1.7 (Jun 10 2016)

* call `Array#uniq` in `deploy:set_linked_dirs` task to remove duplicated :linked_dirs
* Add `migration_servers` configuration (#168)

# 1.1.6 (Jan 19 2016)

* Add `rake assets:clobber` task from Rails (#149)
* Make `assets:clean` capable with zsh (#150)
* Split `deploy:migrate` to allow for finer hook-control (#148)
* Fix for parsing ls output in detect_manifest_path (#133)

# 1.1.5 (Oct 15 2015)

* Disable `deploy:cleanup_assets` by default due to undesirable behavior in Rails 3. Use `set :keep_assets, 2` to explicitly enable this feature for Rails 4.

# 1.1.4 (Oct 10 2015)

* Fixing bug with normalize_assets typo #138
* Cleanup assets after:updated (#136)
* Fixed linked_dirs containing default value of assets_prefix (#125)

# 1.1.3 (Apr 18 2015)

* Fixed no_release behaviour (https://github.com/capistrano/rails/pull/95)
* Allow assets manifest backup with folder "manifests" (https://github.com/capistrano/rails/pull/92)
* Handle Sprocket 3 manifest filename

# 1.1.2 (Sep 1 2014)

* rails_env is set before deploy (https://github.com/capistrano/rails/pull/66)
* with `conditionally_migrate` option enabled you can skip `db:migrate` if there were no new migrations (https://github.com/capistrano/rails/pull/71)
* Allow early overriding of assets_* parameters (https://github.com/capistrano/rails/pull/73)

# 1.1.1

* New `asset_roles` options: https://github.com/capistrano/rails/pull/30
* normalized task spelling: 'deploy:normalise_assets' is now 'deploy:normalize_assets'
* depend on capistrano 3.1 to support multiple role arguments

# 1.1.0

* set rails_env even if capistrano-rails was required partly
* depend on capistrano-bundler
* require bundler with capistrano-rails/all

# 1.0.0

Initial release

[master]: https://github.com/capistrano/rails/compare/v1.5.0...HEAD
[1.5.0]: https://github.com/capistrano/rails/compare/v1.4.0...v1.5.0
[1.4.0]: https://github.com/capistrano/rails/compare/v1.3.1...v1.4.0
[1.3.1]: https://github.com/capistrano/rails/compare/v1.3.0...v1.3.1
[1.3.0]: https://github.com/capistrano/rails/compare/v1.2.3...v1.3.0
[1.2.3]: https://github.com/capistrano/rails/compare/v1.2.2...v1.2.3
[1.2.2]: https://github.com/capistrano/rails/compare/v1.2.1...v1.2.2
[1.2.1]: https://github.com/capistrano/rails/compare/v1.2.0...v1.2.1
[1.2.0]: https://github.com/capistrano/rails/compare/v1.1.8...v1.2.0
Release notes for this project are kept here: https://github.com/capistrano/rails/releases
2 changes: 1 addition & 1 deletion Dangerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
danger.import_dangerfile(github: "capistrano/danger")
danger.import_dangerfile(github: "capistrano/danger", branch: "no-changelog")
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ require "bundler/gem_tasks"

# Do nothing by default
task :default

Rake::Task["release"].enhance do
puts "Don't forget to publish the release on GitHub!"
system "open https://github.com/capistrano/rails/releases"
end
2 changes: 1 addition & 1 deletion capistrano-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
gem.summary = %q{Rails specific Capistrano tasks}
gem.homepage = "https://github.com/capistrano/rails"
gem.metadata = {
"changelog_uri" => "https://github.com/capistrano/rails/blob/master/CHANGELOG.md"
"changelog_uri" => "https://github.com/capistrano/rails/releases"
}

gem.licenses = ["MIT"]
Expand Down