Skip to content

Commit

Permalink
Merge pull request #13 from RusPiRo/development
Browse files Browse the repository at this point in the history
Prepare Release and crates.io publishing
  • Loading branch information
2ndTaleStudio authored Feb 6, 2021
2 parents 5b02ef5 + ab9985a commit 961db36
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,11 @@ jobs:

- name: Publish-Dry-Run
run: |
cd ./macros
cargo make publish_dry
cd ../interrupt
cd ./interrupt
cargo make publish_dry
prepare_release:
needs: [build]
needs: [build, publish_dry]
if: ${{ github.ref == 'refs/heads/development' }}
name: Prepare Release - Create Release PR
runs-on: ubuntu-latest
Expand All @@ -87,7 +85,7 @@ jobs:
PULL_REQUEST_BODY: "Automatic PR to the release branch as preperation to publish the library"

deploy:
needs: [build]
needs: [build, publish_dry]
if: ${{ github.ref == 'refs/heads/release' }}
name: Create Release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -177,7 +175,5 @@ jobs:
- name: Publish-Run
run: |
cd ./macros
cargo make publish --env CRATES_TOKEN=${{ secrets.CRATES_TOKEN }}
cd ../interrupt/
cd ./interrupt/
cargo make publish --env CRATES_TOKEN=${{ secrets.CRATES_TOKEN }}
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Changelog

## :banana: v0.4.0
## :cat: v0.4.1

- ### :bulb: Features

List the features that were added with this release.
Rework the interrupt crate to support sync and async interrupt processing. Each interrupt handler implementation will recieve a `Sender` of a specific channel that may have been passed to the interrupt handling while activating a specific interrupt. The signature of a interrupt handling function will thus now look like:

```rust
#[IrqHandler(Foo)]
fn foo_handler(tx: Option<IsrSender<Box<dyn Any>>>) { }
```
4 changes: 2 additions & 2 deletions interrupt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "ruspiro-interrupt"
authors = ["Andre Borrmann <[email protected]>"]
version = "0.4.0" # remember to update html_root_url
version = "0.4.1" # remember to update html_root_url
description = """
Providing a simple and convinient way to implement interrupt handler for Raspberry Pi interrupts.
"""
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RusPiRo/ruspiro-interrupt/tree/v||VERSION||"
documentation = "https://docs.rs/ruspiro-interrupt/||VERSION||"
readme = "README.md"
readme = "../README.md"
keywords = ["RusPiRo", "baremetal", "raspberrypi", "interrupt"]
categories = ["no-std", "embedded"]
edition = "2018"
Expand Down

0 comments on commit 961db36

Please sign in to comment.