Skip to content

Commit

Permalink
Merge pull request #15 from bennyhodl/release-plz
Browse files Browse the repository at this point in the history
release plz
  • Loading branch information
bennyhodl authored Nov 3, 2024
2 parents f4f96c4 + 705bea4 commit a6f0e5a
Show file tree
Hide file tree
Showing 8 changed files with 178 additions and 13 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Release-plz

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- master

jobs:
release-plz-release:
name: Release-plz release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_PLZ_TOKEN }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: MarcoIeni/[email protected]
with:
command: release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

release-plz-pr:
name: Release-plz PR
runs-on: ubuntu-latest
concurrency:
group: release-plz-${{ github.ref }}
cancel-in-progress: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_PLZ_TOKEN }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: MarcoIeni/[email protected]
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions kormir-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.3.0](https://github.com/bennyhodl/kormir/releases/tag/kormir-server-v0.3.0) - 2024-11-03

### Fixed

- fix saving nonce index in postgres

### Other

- release plz
- update rust-dlc to 0.7.0 ([#13](https://github.com/bennyhodl/kormir/pull/13))
- Add support for numeric events ([#6](https://github.com/bennyhodl/kormir/pull/6))
- Fix clippy
- Formatting
- Merge pull request [#9](https://github.com/bennyhodl/kormir/pull/9) from bennyhodl/get-by-event-id-routes
- [email protected] & [email protected]
- Upodate bitcoin 30.2 and rust-dlc 0.5
- Include the announcement/attestation ids and db id in server
- Bump version
- Update rust-nostr
- Bump version
- Update nostr, re-export it
- Bump version
- bump version
- Bump version
- Bump version
- Simplify code
- Bump versions
- Update deps
- Create and sign events for kormir-server
- Bump version
- List events
- Give outcome when saving signatures
- Remove unneeded clone
- Only allow one oracle per kormir-server
- Bump version
- Add crate metadata
- Add wasm support
- Remove anyhow
- Async storage
- Initial http server
- Project structure
8 changes: 4 additions & 4 deletions kormir-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name = "kormir-server"
version = "0.3.0"
edition = "2021"
authors = ["benthecarman <[email protected]>"]
authors = ["benthecarman <[email protected]>", "benny b <[email protected]>"]
description = "DLC Oracle RPC Server"
license = "MIT"
documentation = "https://docs.rs/kormir"
homepage = "https://github.com/benthecarman/kormir"
repository = "https://github.com/benthecarman/kormir"
homepage = "https://github.com/bennyhodl/kormir"
repository = "https://github.com/bennyhodl/kormir"

[dependencies]
kormir = { path = "../kormir", version = "0.3.0", features = ["nostr"] }
kormir = { path = "../kormir", version = "0.3.1", features = ["nostr"] }

anyhow = "1.0"
axum = { version = "0.6.16", features = ["headers"] }
Expand Down
49 changes: 49 additions & 0 deletions kormir-wasm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.3.0](https://github.com/bennyhodl/kormir/releases/tag/kormir-wasm-v0.3.0) - 2024-11-03

### Other

- release plz
- Add support for numeric events ([#6](https://github.com/bennyhodl/kormir/pull/6))
- Fix clippy
- Formatting
- [email protected] & [email protected]
- Upodate bitcoin 30.2 and rust-dlc 0.5
- Include the announcement/attestation ids and db id in server
- Bump version
- Update rust-nostr
- Bump version
- Update nostr, re-export it
- Bump version
- parse nsec and hex keys
- bump version
- I am dumb
- Bump version
- Add observed_outcome
- Include id in list_events
- Bump version
- Add utilities to decode announcements and attestations
- Use add_relays in wasm
- Bump versions
- Update deps
- Kormir-web from nsec
- Bump version
- Small fixes for list events
- Fix storage of nostr event ids
- Give outcome when saving signatures
- Bump version
- Add this error for js error
- Add list events function
- Fix for publish
- Cleanup wasm errors
- Remove unused dep
- Add crate metadata
- Add wasm support
6 changes: 3 additions & 3 deletions kormir-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ authors = ["benthecarman <[email protected]>"]
description = "DLC Oracle WASM SDK"
license = "MIT"
documentation = "https://docs.rs/kormir"
homepage = "https://github.com/benthecarman/kormir"
repository = "https://github.com/benthecarman/kormir"
homepage = "https://github.com/bennyhodl/kormir"
repository = "https://github.com/bennyhodl/kormir"

[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
kormir = { path = "../kormir", version = "0.3.0", features = ["nostr"] }
kormir = { path = "../kormir", version = "0.3.1", features = ["nostr"] }

anyhow = "1.0.75"
bip39 = "2.0.0"
Expand Down
14 changes: 14 additions & 0 deletions kormir/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.3.1](https://github.com/bennyhodl/kormir/compare/kormir-v0.3.0...kormir-v0.3.1) - 2024-11-03

### Other

- release plz
10 changes: 5 additions & 5 deletions kormir/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "kormir"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
authors = ["benthecarman <[email protected]>"]
description = "DLC Oracle rust SDK"
authors = ["benthecarman <[email protected]>", "benny b <[email protected]>"]
description = "Oracle implementation for DLCs"
license = "MIT"
documentation = "https://docs.rs/kormir"
homepage = "https://github.com/benthecarman/kormir"
repository = "https://github.com/benthecarman/kormir"
homepage = "https://github.com/bennyhodl/kormir"
repository = "https://github.com/bennyhodl/kormir"

[features]
default = []
Expand Down

0 comments on commit a6f0e5a

Please sign in to comment.