Skip to content

Commit 1e2512b

Browse files
Merge #277
277: release 0.7.0-alpha.1 r=Emilgardis a=Emilgardis Co-authored-by: Emil Gardström <[email protected]>
2 parents 5e4fee6 + 832f947 commit 1e2512b

File tree

6 files changed

+19
-17
lines changed

6 files changed

+19
-17
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[package]
22
name = "twitch_api"
3-
version = "0.6.1"
3+
version = "0.7.0-alpha.1"
44
authors = ["Emil Gardström <[email protected]>"]
55
edition = "2018"
66
repository = "https://github.com/twitch-rs/twitch_api"
77
license = "MIT OR Apache-2.0"
88
description = "Library for talking with the new Twitch API aka. \"Helix\", TMI and more!"
99
keywords = ["oauth", "twitch", "async", "asynchronous", "api"]
10-
documentation = "https://docs.rs/twitch_api/0.6.1"
10+
documentation = "https://docs.rs/twitch_api/0.7.0-alpha.1"
1111
readme = "README.md"
1212
resolver = "2"
1313
include = [
@@ -27,7 +27,7 @@ members = ["xtask", "examples/*"]
2727
exclude = ["twitch_types", "twitch_oauth2"]
2828

2929
[workspace.dependencies]
30-
twitch_api = { version = "0.6.1", path = "." }
30+
twitch_api = { version = "0.7.0-alpha.1", path = "." }
3131
twitch_oauth2 = { version = "0.9.0", path = "twitch_oauth2/" }
3232

3333
[dependencies]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Twitch API | Rust library for talking with the new Twitch API aka. "Helix", TMI and more!
22

3-
[![github]](https://github.com/twitch-rs/twitch_api)&ensp;[![crates-io]](https://crates.io/crates/twitch_api2)&ensp;[![docs-rs-big]](https://docs.rs/twitch_api2/0.6.1/twitch_api2/)
3+
[![github]](https://github.com/twitch-rs/twitch_api)&ensp;[![crates-io]](https://crates.io/crates/twitch_api)&ensp;[![docs-rs-big]](https://docs.rs/twitch_api/0.7.0-alpha.1/twitch_api/)
44

55
[github]: https://img.shields.io/badge/github-twitch--rs/twitch__api-8da0cb?style=for-the-badge&labelColor=555555&logo=github
6-
[crates-io]: https://img.shields.io/crates/v/twitch_api2.svg?style=for-the-badge&color=fc8d62&logo=rust
6+
[crates-io]: https://img.shields.io/crates/v/twitch_api.svg?style=for-the-badge&color=fc8d62&logo=rust
77
[docs-rs-big]: https://img.shields.io/badge/docs.rs-twitch__api2-66c2a5?style=for-the-badge&labelColor=555555&logoColor=white&logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K
88

9-
See [documentation](https://docs.rs/twitch_api2) for more info.
9+
See [documentation](https://docs.rs/twitch_api) for more info.
1010

1111
You can see current unpublished docs here: [![local-docs]](https://twitch-rs.github.io/twitch_api/twitch_api)
1212

release.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
no-dev-version = true
21
pre-release-commit-message = "release {{crate_name}} {{version}}"
3-
disable-tag = true
4-
disable-push = true
5-
disable-publish = true
2+
tag = false
3+
push = false
4+
publish = false
65
enable-features = ["all", "twitch_oauth2/all", "unsupported"]
6+
consolidate-commits = false
77
pre-release-replacements = [
88
{file="CHANGELOG.md", search="Unreleased", replace="v{{version}}", prerelease=false},
99
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", prerelease=false},

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#![deny(missing_docs, rustdoc::broken_intra_doc_links)]
22
#![cfg_attr(nightly, feature(doc_cfg))]
33
#![cfg_attr(nightly, feature(doc_auto_cfg))]
4-
#![doc(html_root_url = "https://docs.rs/twitch_api/0.6.1")]
5-
//! [![github]](https://github.com/twitch-rs/twitch_api)&ensp;[![crates-io]](https://crates.io/crates/twitch_api)&ensp;[![docs-rs-big]](https://docs.rs/twitch_api/0.6.1/twitch_api)
4+
#![doc(html_root_url = "https://docs.rs/twitch_api/0.7.0-alpha.1")]
5+
//! [![github]](https://github.com/twitch-rs/twitch_api)&ensp;[![crates-io]](https://crates.io/crates/twitch_api)&ensp;[![docs-rs-big]](https://docs.rs/twitch_api/0.7.0-alpha.1/twitch_api)
66
//!
77
//! [github]: https://img.shields.io/badge/github-twitch--rs/twitch__api-8da0cb?style=for-the-badge&labelColor=555555&logo=github"
88
//! [crates-io]: https://img.shields.io/crates/v/twitch_api.svg?style=for-the-badge&color=fc8d62&logo=rust"

xtask/src/main.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ fn main() -> color_eyre::Result<()> {
5656
let change_log =
5757
std::fs::read_to_string(get_cargo_workspace().join("CHANGELOG.md"))?;
5858

59-
color_eyre::eyre::ensure!(
60-
change_log.contains(&format!("## [{tag}] -")),
61-
"change log is not updated"
62-
);
59+
if !tag.contains('-') {
60+
color_eyre::eyre::ensure!(
61+
change_log.contains(&format!("## [{tag}] -")),
62+
"change log is not updated"
63+
);
64+
}
6365

6466
if dry_run {
6567
eprintln!("{}", cmd!(sh, "git tag {tag}"));

0 commit comments

Comments
 (0)