fix: disable publish for services (#485)
This commit is contained in:
@@ -3,6 +3,7 @@ name = "revolt-bonfire"
|
|||||||
version = "0.9.1"
|
version = "0.9.1"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
publish = false
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ license = "AGPL-3.0-or-later"
|
|||||||
authors = ["Paul Makles <me@insrt.uk>"]
|
authors = ["Paul Makles <me@insrt.uk>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Revolt Daemon Service: Timed data clean up tasks"
|
description = "Revolt Daemon Service: Timed data clean up tasks"
|
||||||
|
publish = false
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ name = "revolt-pushd"
|
|||||||
version = "0.9.1"
|
version = "0.9.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
revolt-result = { version = "0.9.1", path = "../../core/result" }
|
revolt-result = { version = "0.9.1", path = "../../core/result" }
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ name = "revolt-voice-ingress"
|
|||||||
version = "0.9.1"
|
version = "0.9.1"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
publish = false
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ version = "0.9.1"
|
|||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
authors = ["Paul Makles <paulmakles@gmail.com>"]
|
authors = ["Paul Makles <paulmakles@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
publish = false
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ name = "revolt-autumn"
|
|||||||
version = "0.9.1"
|
version = "0.9.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# ID generation
|
# ID generation
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ name = "revolt-gifbox"
|
|||||||
version = "0.9.1"
|
version = "0.9.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Serialisation
|
# Serialisation
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ name = "revolt-january"
|
|||||||
version = "0.9.1"
|
version = "0.9.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Utility
|
# Utility
|
||||||
|
|||||||
21
justfile
21
justfile
@@ -1,21 +0,0 @@
|
|||||||
publish:
|
|
||||||
cargo publish --package revolt-parser
|
|
||||||
cargo publish --package revolt-result
|
|
||||||
cargo publish --package revolt-config
|
|
||||||
cargo publish --package revolt-files
|
|
||||||
cargo publish --package revolt-permissions
|
|
||||||
cargo publish --package revolt-models
|
|
||||||
cargo publish --package revolt-presence
|
|
||||||
cargo publish --package revolt-database
|
|
||||||
|
|
||||||
patch:
|
|
||||||
cargo release version patch --execute
|
|
||||||
|
|
||||||
minor:
|
|
||||||
cargo release version minor --execute
|
|
||||||
|
|
||||||
major:
|
|
||||||
cargo release version major --execute
|
|
||||||
|
|
||||||
release:
|
|
||||||
scripts/try-tag-and-release.sh
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
date=$(date +'%Y%m%d')
|
|
||||||
incr=1
|
|
||||||
|
|
||||||
while [ $(git tag -l "$date-$incr") ]; do
|
|
||||||
incr=$((incr+1))
|
|
||||||
done
|
|
||||||
|
|
||||||
tag=$date-$incr
|
|
||||||
echo About to tag and push $tag in 3 seconds...
|
|
||||||
sleep 3s
|
|
||||||
|
|
||||||
git tag $tag
|
|
||||||
git push --atomic origin $(git rev-parse --abbrev-ref HEAD) $tag
|
|
||||||
Reference in New Issue
Block a user