Skip to content

Commit bf24980

Browse files
committed
Fill out version automatically.
1 parent 4c31bbb commit bf24980

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gitpub"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
authors = ["Logan Saso <[email protected]>"]
55
description = "A CLI app to create remote git repositories."
66
repository = "https://github.com/loganintech/gitpub"

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ _Note:_ Environment variables can also be passed directly via CLI parameters, th
77
Usage:
88

99
```
10-
Git Publish 0.4.0
10+
Git Publish 0.4.1
1111
Logan Saso <[email protected]>
1212
A small program to create remote git repositories from the command line.
1313
@@ -40,7 +40,7 @@ _Note:_ If you want to create org repositories the token also requires `org` sco
4040

4141
### Github
4242
```
43-
gitpub-github 0.4.0
43+
gitpub-github 0.4.1
4444
Create a repo on github.
4545
4646
USAGE:
@@ -80,7 +80,7 @@ _Note_: Optionally set the `GITLAB_USERNAME` environment variable to enable prin
8080

8181
### Gitlab
8282
```
83-
gitpub-gitlab 0.4.0
83+
gitpub-gitlab 0.4.1
8484
Create a repo on gitlab.
8585
8686
USAGE:
@@ -131,7 +131,7 @@ OPTIONS:
131131
### Bitbucket
132132

133133
```
134-
gitpub-bitbucket 0.4.0
134+
gitpub-bitbucket 0.4.1
135135
Create a repo on bitbucket.
136136
137137
USAGE:

src/provider/bitbucket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl<'a> Provider for BitbucketArgs<'a> {
6060

6161
pub fn subcommand() -> App<'static, 'static> {
6262
SubCommand::with_name("bitbucket")
63-
.version("0.4.0")
63+
.version(env!("CARGO_PKG_VERSION"))
6464
.about("Create a repo on bitbucket.")
6565
.arg(
6666
Arg::with_name("name")

src/provider/github.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ impl<'a> Provider for GithubArgs<'a> {
7878

7979
pub fn subcommand() -> App<'static, 'static> {
8080
SubCommand::with_name("github")
81-
.version("0.4.0")
81+
.version(env!("CARGO_PKG_VERSION"))
8282
.about("Create a repo on github.")
8383
.arg(
8484
Arg::with_name("name")

src/provider/gitlab.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl<'a> Provider for GitlabArgs<'a> {
9898

9999
pub fn subcommand() -> App<'static, 'static> {
100100
SubCommand::with_name("gitlab")
101-
.version("0.4.0")
101+
.version(env!("CARGO_PKG_VERSION"))
102102
.about("Create a repo on gitlab.")
103103
.arg(
104104
Arg::with_name("name")

0 commit comments

Comments
 (0)