Compare commits

...

4 commits

Author SHA1 Message Date
e32885ebbb chore: Release 0.9.1
All checks were successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-07-14 10:41:08 +01:00
0c7a060211 build: add script to publish to crates.io
All checks were successful
Rust / build (push) Successful in 1m29s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-07-14 10:40:47 +01:00
e410cfc4f1 chore: add license and descriptions for each crate
All checks were successful
Rust / build (push) Successful in 1m23s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-07-14 10:40:34 +01:00
19d1f77065 chore: simplify workspace.members specification
All checks were successful
Rust / build (push) Successful in 1m27s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-07-14 10:31:23 +01:00
14 changed files with 39 additions and 15 deletions

View file

@ -1,23 +1,11 @@
[workspace]
resolver = "2"
members = [
"crates/cli",
"crates/server",
"crates/server-actor",
"crates/config",
"crates/git",
"crates/forge",
"crates/forge-forgejo",
"crates/forge-github",
"crates/repo-actor",
"crates/webhook-actor",
"crates/actor-macros",
"crates/file-watcher-actor",
]
members = ["crates/*"]
[workspace.package]
version = "0.9.0"
version = "0.9.1"
edition = "2021"
license = "MIT"
[workspace.lints.clippy]
nursery = { level = "warn", priority = -1 }

View file

@ -2,6 +2,8 @@
name = "git-next-actor-macros"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
descripition = "macros for actors for git-next, the trunk-based development manager"
[dependencies]
# Actors

View file

@ -2,6 +2,8 @@
name = "git-next"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
descripition = "CLI support for git-next, the trunk-based development manager"
[dependencies]
git-next-server = { workspace = true }

View file

@ -2,6 +2,8 @@
name = "git-next-config"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
descripition = "Base types for git-next, the trunk-based development manager"
[features]
default = ["forgejo", "github"]

View file

@ -2,6 +2,8 @@
name = "git-next-file-watcher-actor"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
descripition = "Config file watcher for git-next, the trunk-based development manager"
[dependencies]
git-next-config = { workspace = true }

View file

@ -2,6 +2,8 @@
name = "git-next-forge-forgejo"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
descripition = "Forgejo support for git-next, the trunk-based development manager"
[dependencies]
git-next-config = { workspace = true }

View file

@ -2,6 +2,8 @@
name = "git-next-forge-github"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
descripition = "GitHub support for git-next, the trunk-based development manager"
[dependencies]
git-next-config = { workspace = true }

View file

@ -2,6 +2,8 @@
name = "git-next-forge"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
descripition = "Generic forge support for git-next, the trunk-based development manager"
[features]
default = ["forgejo", "github"]

View file

@ -2,6 +2,8 @@
name = "git-next-git"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
descripition = "git support for git-next, the trunk-based development manager"
[dependencies]
git-next-config = { workspace = true }

View file

@ -2,6 +2,8 @@
name = "git-next-repo-actor"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
descripition = "Repository support for git-next, the trunk-based development manager"
[features]
default = ["forgejo", "github"]

View file

@ -2,6 +2,8 @@
name = "git-next-server-actor"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
descripition = "Server actor for git-next, the trunk-based development manager"
[dependencies]
git-next-config = { workspace = true }

View file

@ -2,6 +2,8 @@
name = "git-next-server"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
descripition = "server for git-next, the trunk-based development manager"
[dependencies]
git-next-config = { workspace = true }

View file

@ -2,6 +2,8 @@
name = "git-next-webhook-actor"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
descripition = "webhook actor for git-next, the trunk-based development manager"
[dependencies]
git-next-config = { workspace = true }

View file

@ -39,3 +39,15 @@ grcov-coverage:
grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing -o ./target/debug/coverage/
find . -name '*.profraw' -exec rm "{}" \;
echo "Now:\n\topen target/debug/coverage/index.html"
publish version:
#!/usr/bin/bash -e
# [[ -z $(git status --short) ]] || echo "Worktree is Dirty - aborting" ; exit
echo "Clean"
# git co v{{version}}
ORDER=$(cargo publish-workspace --target-version {{version}} --crate-prefix git-next --show-order 2>/dev/null | cut -d\ -f2-)
# INFO: Why not use publish-workspace to publish? It doesn't support when crates-io registry is replaced
for P in ${ORDER}
do
cargo publish --registry crates-io -p $P
done