-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: release automation with release-please
- Loading branch information
Showing
12 changed files
with
129 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: Release Please Automatic Semver | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
release: | ||
name: release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: google-github-actions/release-please-action@v3 | ||
with: | ||
release-type: rust | ||
command: manifest | ||
package-name: tuxedo-rs | ||
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"deps","section":"Dependencies","hidden":false}]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"tuxedo_ioctl": "0.2.3", | ||
"tuxedo_sysfs": "0.2.3", | ||
"tailord": "0.2.3", | ||
"tailor_api": "0.2.3", | ||
"tailor_client": "0.2.3", | ||
"tailor_cli": "0.2.3", | ||
"tailor_gui": "0.2.3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Contributing guide | ||
|
||
Contributions are more than welcome! | ||
|
||
## Commit messages / PR titles | ||
|
||
This project uses [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) | ||
for PR titles, which become the commit messages after a squash merge. | ||
|
||
The most important prefixes you should have in mind are: | ||
|
||
- `feat:` which represents a new feature, and correlates to a [SemVer](https://semver.org/) | ||
minor. | ||
- `fix:` which represents bug fixes, and correlates to a SemVer patch. | ||
- `deps:` which represents dependency updates, and correlates to a SemVer patch. | ||
- `feat!:`, or `fix!:`, `refactor!:`, etc., which represent a breaking change | ||
(indicated by the !). | ||
- `docs:` which represents documentation, and does not correlate to a version bump. | ||
- `chore:` which represents miscellaneous changes, | ||
and does not correlate to a version bump. | ||
|
||
See also the [`release-please`](./.github/workflows/release-please.yml) | ||
for the mapping of commit prefixes to changelog entry. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,12 @@ members = [ | |
exclude = [ | ||
"tailor_gui", | ||
] | ||
|
||
[workspace.package] | ||
name = "tuxedo-rs" | ||
version = "0.2.3" | ||
rust-version = "1.72.0" | ||
authors = ["Aaron Erhardt <[email protected]>"] | ||
edition = "2021" | ||
license = "GPL-2.0+" | ||
repository = "https://github.com/AaronErhardt/tuxedo-rs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"plugins": ["cargo-workspace"], | ||
"packages": { | ||
"tuxedo_ioctl": { | ||
"release-type": "rust" | ||
}, | ||
"tuxedo_sysfs": { | ||
"release-type": "rust" | ||
}, | ||
"tailord": { | ||
"release-type": "rust" | ||
}, | ||
"tailor_api": { | ||
"release-type": "rust" | ||
}, | ||
"tailor_client": { | ||
"release-type": "rust" | ||
}, | ||
"tailor_cli": { | ||
"release-type": "rust" | ||
}, | ||
"tailor_gui": { | ||
"release-type": "rust" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
[package] | ||
name = "tailor_api" | ||
authors = ["Aaron Erhardt <[email protected]>"] | ||
version = "0.2.3" | ||
edition = "2021" | ||
license = "GPL-2.0+" | ||
description = "API types for communication with tailord (part of tuxedo-rs)" | ||
repository = "https://github.com/AaronErhardt/tuxedo-rs" | ||
version = "0.2.3" | ||
rust-version.workspace = true | ||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
|
||
[dependencies] | ||
atoi = "2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
[package] | ||
name = "tailor" | ||
version = "0.2.3" | ||
description = "Tailor CLI (part of tuxedo-rs)" | ||
authors = [ | ||
"Aaron Erhardt <[email protected]>", | ||
"Marc Jakobi <[email protected]>" | ||
] | ||
edition = "2021" | ||
publish = false | ||
description = "Tailor CLI (part of tuxedo-rs)" | ||
repository = "https://github.com/AaronErhardt/tuxedo-rs" | ||
version = "0.2.3" | ||
rust-version.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
|
||
[dependencies] | ||
tailor_api = {version = "0.2.1", path = "../tailor_api" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
[package] | ||
name = "tailor_client" | ||
authors = ["Aaron Erhardt <[email protected]>"] | ||
version = "0.2.1" | ||
edition = "2021" | ||
license = "GPL-2.0+" | ||
description = "Client library for tailord (part of tuxedo-rs)" | ||
repository = "https://github.com/AaronErhardt/tuxedo-rs" | ||
version = "0.2.3" | ||
rust-version.workspace = true | ||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
|
||
[dependencies] | ||
thiserror = "1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
[package] | ||
name = "tailord" | ||
authors = ["Aaron Erhardt <[email protected]>"] | ||
version = "0.2.3" | ||
edition = "2021" | ||
license = "GPL-2.0+" | ||
description = "Daemon handling fan, keyboard and general HW support for Tuxedo laptops (part of tuxedo-rs)" | ||
repository = "https://github.com/AaronErhardt/tuxedo-rs" | ||
version = "0.2.3" | ||
rust-version.workspace = true | ||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
|
||
[dependencies] | ||
futures = "0.3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
[package] | ||
name = "tuxedo_ioctl" | ||
authors = ["Aaron Erhardt <[email protected]>"] | ||
version = "0.2.3" | ||
edition = "2021" | ||
license = "GPL-2.0+" | ||
description = "Tuxedo ioctl interface (part of tuxedo-rs)" | ||
repository = "https://github.com/AaronErhardt/tuxedo-rs" | ||
version = "0.2.3" | ||
rust-version.workspace = true | ||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
|
||
[dependencies] | ||
nix = { version = "0.26", features = ["ioctl"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
[package] | ||
name = "tuxedo_sysfs" | ||
authors = ["Aaron Erhardt <[email protected]>"] | ||
version = "0.2.0" | ||
edition = "2021" | ||
license = "GPL-2.0+" | ||
description = "Tuxedo sysfs interface (part of tuxedo-rs)" | ||
repository = "https://github.com/AaronErhardt/tuxedo-rs" | ||
version = "0.2.3" | ||
rust-version.workspace = true | ||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
|
||
[dependencies] | ||
futures = "0.3" | ||
|
@@ -17,4 +18,4 @@ tailor_api = { version = "0.2", path = "../tailor_api" } | |
|
||
[dev-dependencies] | ||
sudo = "0.6" | ||
tracing-subscriber = "0.3.16" | ||
tracing-subscriber = "0.3.16" |