Skip to content

Commit 8ae41f7

Browse files
committed
release: drand_core v0.0.18
1 parent ca88d97 commit 8ae41f7

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: Publish to crates.io
22

33
on:
44
push:
5-
tags: ['v*']
5+
tags:
6+
- 'v*'
7+
- 'dee-v*'
68

79
jobs:
810
publish:
@@ -15,16 +17,16 @@ jobs:
1517
- uses: rust-lang/crates-io-auth-action@v1
1618
id: auth
1719

18-
# Publish in dependency order: drand_core -> dee
20+
# Publish drand_core on v* tags
1921
- name: Publish drand_core
22+
if: startsWith(github.ref, 'refs/tags/v')
2023
run: cargo publish -p drand_core
2124
env:
2225
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
2326

24-
- name: Wait for crates.io index
25-
run: sleep 30
26-
27+
# Publish dee on dee-v* tags
2728
- name: Publish dee
29+
if: startsWith(github.ref, 'refs/tags/dee-v')
2830
run: cargo publish -p dee
2931
env:
3032
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

dee/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ clap = { version = "4.5", features = ["derive"] }
3939
clap-verbosity-flag = "3.0"
4040
colored = "2.1"
4141
confy = "0.6"
42-
drand_core = { path = "../drand_core", version = "0.0.17" }
42+
drand_core = { path = "../drand_core", version = "0.0.18" }
4343
env_logger = "0.11"
4444
hex = { workspace = true }
4545
log = "0.4"

drand_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "drand_core"
33
description = "A drand client library."
4-
version = "0.0.17"
4+
version = "0.0.18"
55
authors = ["Thibault Meunier <crates@thibault.uk>"]
66
edition = "2021"
77
readme = "./README.md"

0 commit comments

Comments
 (0)