Skip to content

Commit

Permalink
Merge pull request #13 from podium/bugfix/ci/version
Browse files Browse the repository at this point in the history
bugfix: Set Version as Module Attribute for Release CI to Find
  • Loading branch information
epinault authored May 29, 2024
2 parents b64b65d + fe7e967 commit 198f5a0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.1.1] 2024-05-28

Fix bug where `version` key needed to be set as module attribute `@version`
for `sed` to find it.

## [0.1.0] - 2024-05-15

Initial release.
Expand Down
3 changes: 2 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
defmodule JsonSchemaNif.MixProject do
use Mix.Project

@version "0.1.1"
@project_url "https://github.com/podium/json_schema_nif"

def project do
[
app: :json_schema_nif,
name: "JSON Schema NIF",
description: "A JSON Schema Validator via NIF bindings to Rust",
version: "0.1.0",
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down
2 changes: 1 addition & 1 deletion native/json_schema_nif/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = []
edition = "2021"
name = "json_schema_nif"
version = "0.1.0"
version = "0.1.1"

[lib]
crate-type = ["cdylib", "lib"]
Expand Down

0 comments on commit 198f5a0

Please sign in to comment.