Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
enewbury committed Apr 5, 2022
1 parent 633f4b4 commit 63b1b50
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 121 deletions.
36 changes: 0 additions & 36 deletions .github/release-drafter.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/changelog.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/publish.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/release.yml

This file was deleted.

20 changes: 16 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# Changelog
## Upcoming

## v0.2.0
- Include operators like <,>, starts_with etc.
<!-- next-header -->

## v0.1.0
## [Unreleased] - ReleaseDate
### Added
* Preserve errors when using Quarry.build vs Quarry.build!
* CI updates

- Initial implementation of library
### Fixed

## [0.2.0] - 2021-12-25
* Includes more filtering options like `less_than`, `greater_than`, `starts_with` etc

## [0.1.0] - 2021-12-25
* Initial release

<!-- next-url -->
[Unreleased]: https://github.com/enewbury/quarry/compare/v0.2.1...HEAD
35 changes: 35 additions & 0 deletions config/dev.exs
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
use Mix.Config

config :version_release,
tag_prefix: "v",
hex_publish: true,
changelog: %{
creation: :manual,
replacements: [
%{
file: "README.md",
patterns: [
%{search: ~r/quarry, \"~> (.*)\"/, replace: "quarry, \"{{version}}\""}
]
},
%{
file: "CHANGELOG.md",
type: :changelog,
patterns: [
%{search: "Unreleased", replace: "{{version}}", type: :unreleased},
%{search: "...HEAD", replace: "...{{tag_name}}", global: false},
%{search: "ReleaseDate", replace: "{{date}}"},
%{
search: "<!-- next-header -->",
replace: "<!-- next-header -->\n\n## [Unreleased] - ReleaseDate",
global: false
},
%{
search: "<!-- next-url -->",
replace:
"<!-- next-url -->\n[Unreleased]: https://github.com/enewbury/quarry/compare/{{tag_name}}...HEAD",
global: false
}
]
}
]
}
1 change: 1 addition & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ defmodule Quarry.MixProject do
[
{:ecto, "~> 3.5"},
{:ex_doc, "~> 0.24", only: :dev, runtime: false},
{:version_release, "~> 0.1.0", only: :dev, runtime: false},
{:ecto_sql, "~> 3.5", only: [:dev, :test]},
{:postgrex, "~> 0.14", only: [:test]},
{:ex_machina, "~> 2.3", only: [:test]},
Expand Down
1 change: 1 addition & 0 deletions mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
"ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.6", "cf344f5692c82d2cd7554f5ec8fd961548d4fd09e7d22f5b62482e5aeaebd4b0", [:make, :mix, :rebar3], [], "hexpm", "bdb0d2471f453c88ff3908e7686f86f9be327d065cc1ec16fa4540197ea04680"},
"telemetry": {:hex, :telemetry, "1.0.0", "0f453a102cdf13d506b7c0ab158324c337c41f1cc7548f0bc0e130bbf0ae9452", [:rebar3], [], "hexpm", "73bc09fa59b4a0284efb4624335583c528e07ec9ae76aca96ea0673850aec57a"},
"unicode_util_compat": {:hex, :unicode_util_compat, "0.7.0", "bc84380c9ab48177092f43ac89e4dfa2c6d62b40b8bd132b1059ecc7232f9a78", [:rebar3], [], "hexpm", "25eee6d67df61960cf6a794239566599b09e17e668d3700247bc498638152521"},
"version_release": {:hex, :version_release, "0.1.0", "44f75eddc8d1fbe9c1ef3dde84b07e4f0b714783ddbb5d06cc22a106c7b03fe4", [:mix], [], "hexpm", "eeb44602b598cd9407101f335d1088fd9968ab44e6859f6044e0040f42751f45"},
}

0 comments on commit 63b1b50

Please sign in to comment.