Skip to content

Commit c7836c9

Browse files
committed
Bump version to 0.3.8.
1 parent e474ac9 commit c7836c9

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "git-version"
33
description = "Compile the git version (tag name, or hash otherwise) and dirty state into your program."
4-
version = "0.3.7"
4+
version = "0.3.8"
55
authors = [
66
"Mara Bos <[email protected]>",
77
"Maarten de Vries <[email protected]>",
@@ -16,7 +16,7 @@ edition = "2021"
1616
readme = "README.md"
1717

1818
[dependencies]
19-
git-version-macro = { version = "=0.3.6", path = "git-version-macro" }
19+
git-version-macro = { version = "=0.3.8", path = "git-version-macro" }
2020

2121
[workspace]
2222
resolver = "2"

git-version-macro/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "git-version-macro"
3-
version = "0.3.7"
3+
version = "0.3.8"
44
authors = [
55
"David Roundy <[email protected]>",
66
"Maarten de Vries <[email protected]>",
@@ -25,3 +25,4 @@ syn = "2.0"
2525

2626
[dev-dependencies]
2727
assert2 = "0.3.11"
28+
git-version = { path = ".." }

git-version-macro/src/lib.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,13 @@ impl Parse for Args {
122122
///
123123
/// # Examples
124124
///
125-
/// ```ignore
125+
/// ```
126+
/// # use git_version::git_version;
126127
/// const VERSION: &str = git_version!();
127128
/// ```
128129
///
129-
/// ```ignore
130+
/// ```
131+
/// # use git_version::git_version;
130132
/// const VERSION: &str = git_version!(args = ["--abbrev=40", "--always"]);
131133
/// ```
132134
///

0 commit comments

Comments
 (0)