Compare commits
5 commits
v0.6.1-rc.
...
v0.6.1-rc.
Author | SHA1 | Date | |
---|---|---|---|
James Harton | 271fe6671a | ||
James Harton | 3fb1170990 | ||
James Harton | fac1d33f26 | ||
Renovate Bot | 7a61a106bd | ||
Renovate Bot | ec317243b9 |
82
.drone.yml
82
.drone.yml
|
@ -252,47 +252,47 @@ steps:
|
|||
- git log -1 --format=%s > .last_commit_message
|
||||
- asdf mix git_ops.check_message .last_commit_message
|
||||
|
||||
- name: mix git_ops.release
|
||||
image: harton.dev/james/asdf_container:latest
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
depends_on:
|
||||
- mix test
|
||||
- mix credo
|
||||
- mix hex.audit
|
||||
- mix format
|
||||
- mix spark.formatter
|
||||
- mix spark.cheat_sheets
|
||||
- mix deps.unlock
|
||||
- mix doctor
|
||||
- mix git_ops.check_message
|
||||
environment:
|
||||
MIX_ENV: test
|
||||
HEX_HOME: /drone/src/.hex
|
||||
MIX_HOME: /drone/src/.mix
|
||||
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||
ASDF_DATA_DIR: /drone/src/.asdf
|
||||
ASDF_DIR: /root/.asdf
|
||||
DRONE_TOKEN:
|
||||
from_secret: DRONE_TOKEN
|
||||
commands:
|
||||
- git fetch --tags
|
||||
- . $ASDF_DIR/asdf.sh
|
||||
- mix git_ops.project_info --format=shell > before.env
|
||||
- mix git_ops.release --yes --no-major || true
|
||||
- mix git_ops.project_info --format=shell > after.env
|
||||
- . ./before.env
|
||||
- export OLD_APP_VERSION=$${APP_VERSION}
|
||||
- . ./after.env
|
||||
- export NEW_APP_VERSION=$${APP_VERSION}
|
||||
- if [ "v$${OLD_APP_VERSION}" != "v$${NEW_APP_VERSION}" ]; then
|
||||
- export GIT_URL=$(echo $DRONE_GIT_HTTP_URL | sed -e "s/:\\/\\//:\\/\\/$DRONE_REPO_OWNER:$DRONE_TOKEN@/")
|
||||
- git push $${GIT_URL} "HEAD:${DRONE_COMMIT_REF}" "refs/tags/v$${NEW_APP_VERSION}"
|
||||
- fi
|
||||
# - name: mix git_ops.release
|
||||
# image: harton.dev/james/asdf_container:latest
|
||||
# when:
|
||||
# branch:
|
||||
# - main
|
||||
# event:
|
||||
# exclude:
|
||||
# - pull_request
|
||||
# depends_on:
|
||||
# - mix test
|
||||
# - mix credo
|
||||
# - mix hex.audit
|
||||
# - mix format
|
||||
# - mix spark.formatter
|
||||
# - mix spark.cheat_sheets
|
||||
# - mix deps.unlock
|
||||
# - mix doctor
|
||||
# - mix git_ops.check_message
|
||||
# environment:
|
||||
# MIX_ENV: test
|
||||
# HEX_HOME: /drone/src/.hex
|
||||
# MIX_HOME: /drone/src/.mix
|
||||
# REBAR_BASE_DIR: /drone/src/.rebar3
|
||||
# ASDF_DATA_DIR: /drone/src/.asdf
|
||||
# ASDF_DIR: /root/.asdf
|
||||
# DRONE_TOKEN:
|
||||
# from_secret: DRONE_TOKEN
|
||||
# commands:
|
||||
# - git fetch --tags
|
||||
# - . $ASDF_DIR/asdf.sh
|
||||
# - mix git_ops.project_info --format=shell > before.env
|
||||
# - mix git_ops.release --yes --no-major || true
|
||||
# - mix git_ops.project_info --format=shell > after.env
|
||||
# - . ./before.env
|
||||
# - export OLD_APP_VERSION=$${APP_VERSION}
|
||||
# - . ./after.env
|
||||
# - export NEW_APP_VERSION=$${APP_VERSION}
|
||||
# - if [ "v$${OLD_APP_VERSION}" != "v$${NEW_APP_VERSION}" ]; then
|
||||
# - export GIT_URL=$(echo $DRONE_GIT_HTTP_URL | sed -e "s/:\\/\\//:\\/\\/$DRONE_REPO_OWNER:$DRONE_TOKEN@/")
|
||||
# - git push $${GIT_URL} "HEAD:${DRONE_COMMIT_REF}" "refs/tags/v$${NEW_APP_VERSION}"
|
||||
# - fi
|
||||
|
||||
- name: build artifacts
|
||||
image: harton.dev/james/asdf_container:latest
|
||||
|
|
|
@ -5,6 +5,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
|
|||
|
||||
<!-- changelog -->
|
||||
|
||||
## [v0.6.1-rc.1](https://harton.dev/james/smokestack/compare/v0.6.1-rc.0...v0.6.1-rc.1) (2024-04-01)
|
||||
|
||||
|
||||
|
||||
|
||||
### Bug Fixes:
|
||||
|
||||
* docs reference to `Ash.Seed.seed!/2`.
|
||||
|
||||
## [v0.6.1-rc.0](https://harton.dev/james/smokestack/compare/v0.6.0...v0.6.1-rc.0) (2024-03-30)
|
||||
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ add it directly to your `mix.exs`:
|
|||
```elixir
|
||||
def deps do
|
||||
[
|
||||
{:smokestack, "~> 0.6.1-rc.0"},
|
||||
{:smokestack, "~> 0.6.1-rc.1"},
|
||||
]
|
||||
end
|
||||
```
|
||||
|
|
|
@ -52,7 +52,7 @@ defmodule Smokestack do
|
|||
## Building resource records
|
||||
|
||||
You can use `insert/2` and `insert!/2` to build and insert records. Records
|
||||
are inserted using `Ash.Seed.seed/2`, which means that they bypass the usual
|
||||
are inserted using `Ash.Seed.seed!/2`, which means that they bypass the usual
|
||||
Ash lifecycle (actions, validations, etc).
|
||||
|
||||
### Options
|
||||
|
|
4
mix.exs
4
mix.exs
|
@ -1,7 +1,7 @@
|
|||
defmodule Smokestack.MixProject do
|
||||
use Mix.Project
|
||||
|
||||
@version "0.6.1-rc.0"
|
||||
@version "0.6.1-rc.1"
|
||||
|
||||
@moduledoc """
|
||||
Test factories for Ash resources.
|
||||
|
@ -93,7 +93,7 @@ defmodule Smokestack.MixProject do
|
|||
opts = [only: ~w[dev test]a, runtime: false]
|
||||
|
||||
[
|
||||
{:ash, "== 3.0.0-rc.5"},
|
||||
{:ash, "== 3.0.0-rc.7"},
|
||||
{:credo, "~> 1.7", opts},
|
||||
{:dialyxir, "~> 1.3", opts},
|
||||
{:doctor, "~> 0.21", opts},
|
||||
|
|
2
mix.lock
2
mix.lock
|
@ -1,5 +1,5 @@
|
|||
%{
|
||||
"ash": {:hex, :ash, "3.0.0-rc.5", "351ed5a675c0e0adb001634303a498cc6feda6c9ba0f30c080645bc5fbd8b5b4", [:mix], [{:comparable, "~> 1.0", [hex: :comparable, repo: "hexpm", optional: false]}, {:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:ecto, "~> 3.7", [hex: :ecto, repo: "hexpm", optional: false]}, {:ets, "~> 0.8", [hex: :ets, repo: "hexpm", optional: false]}, {:jason, ">= 1.0.0", [hex: :jason, repo: "hexpm", optional: false]}, {:picosat_elixir, "~> 0.2", [hex: :picosat_elixir, repo: "hexpm", optional: true]}, {:plug, ">= 0.0.0", [hex: :plug, repo: "hexpm", optional: true]}, {:reactor, "~> 0.8", [hex: :reactor, repo: "hexpm", optional: false]}, {:simple_sat, ">= 0.1.1 and < 1.0.0-0", [hex: :simple_sat, repo: "hexpm", optional: true]}, {:spark, ">= 2.1.7 and < 3.0.0-0", [hex: :spark, repo: "hexpm", optional: false]}, {:splode, "~> 0.2", [hex: :splode, repo: "hexpm", optional: false]}, {:stream_data, "~> 0.6", [hex: :stream_data, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.1", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "3356375e6488a6ac821a641394986beb495e7a84c4b169ed3d841635b40bbc71"},
|
||||
"ash": {:hex, :ash, "3.0.0-rc.7", "f72a64fba1acdce7016984fe9cdf5e3ed856939fb14611d0c168e9971fe9bbed", [:mix], [{:comparable, "~> 1.0", [hex: :comparable, repo: "hexpm", optional: false]}, {:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:ecto, "~> 3.7", [hex: :ecto, repo: "hexpm", optional: false]}, {:ets, "~> 0.8", [hex: :ets, repo: "hexpm", optional: false]}, {:jason, ">= 1.0.0", [hex: :jason, repo: "hexpm", optional: false]}, {:picosat_elixir, "~> 0.2", [hex: :picosat_elixir, repo: "hexpm", optional: true]}, {:plug, ">= 0.0.0", [hex: :plug, repo: "hexpm", optional: true]}, {:reactor, "~> 0.8", [hex: :reactor, repo: "hexpm", optional: false]}, {:simple_sat, ">= 0.1.1 and < 1.0.0-0", [hex: :simple_sat, repo: "hexpm", optional: true]}, {:spark, ">= 2.1.7 and < 3.0.0-0", [hex: :spark, repo: "hexpm", optional: false]}, {:splode, "~> 0.2", [hex: :splode, repo: "hexpm", optional: false]}, {:stream_data, "~> 0.6", [hex: :stream_data, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.1", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "b6edc89cd39ec68bd765bfea271df011b20ab86f181cfab59ef6159e3a1577b4"},
|
||||
"bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
|
||||
"comparable": {:hex, :comparable, "1.0.0", "bb669e91cedd14ae9937053e5bcbc3c52bb2f22422611f43b6e38367d94a495f", [:mix], [{:typable, "~> 0.1", [hex: :typable, repo: "hexpm", optional: false]}], "hexpm", "277c11eeb1cd726e7cd41c6c199e7e52fa16ee6830b45ad4cdc62e51f62eb60c"},
|
||||
"credo": {:hex, :credo, "1.7.5", "643213503b1c766ec0496d828c90c424471ea54da77c8a168c725686377b9545", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "f799e9b5cd1891577d8c773d245668aa74a2fcd15eb277f51a0131690ebfb3fd"},
|
||||
|
|
Loading…
Reference in a new issue