Ver Fonte

version 0.1.1

Signed-off-by: Sean Young <sean@mess.org>
Sean Young há 5 anos atrás
pai
commit
31bda00d2b
4 ficheiros alterados com 5 adições e 5 exclusões
  1. 1 1
      Cargo.toml
  2. 1 1
      build.rs
  3. 1 1
      docs/conf.py
  4. 2 2
      src/bin/solang.rs

+ 1 - 1
Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "solang"
-version = "0.1.0"
+version = "0.1.1"
 authors = ["Sean Young <sean@mess.org>"]
 homepage = "https://github.com/hyperledger-labs/solang"
 documentation = "https://solang.readthedocs.io/"

+ 1 - 1
build.rs

@@ -10,7 +10,7 @@ fn main() {
 
     // note: add error checking yourself.
     let output = Command::new("git")
-        .args(&["rev-parse", "HEAD"])
+        .args(&["describe", "--tags"])
         .output()
         .unwrap();
     let git_hash = String::from_utf8(output.stdout).unwrap();

+ 1 - 1
docs/conf.py

@@ -22,7 +22,7 @@ copyright = '2019, Sean Young <sean@mess.org>'
 author = 'Sean Young <sean@mess.org>'
 
 # The full version, including alpha/beta/rc tags
-release = '0.1.0'
+release = '0.1.1'
 
 
 # -- General configuration ---------------------------------------------------

+ 2 - 2
src/bin/solang.rs

@@ -32,7 +32,7 @@ pub struct JsonResult {
 
 fn main() {
     let matches = App::new("solang")
-        .version(&*format!("commit {}", env!("GIT_HASH")))
+        .version(&*format!("version {}", env!("GIT_HASH")))
         .author(env!("CARGO_PKG_AUTHORS"))
         .about(env!("CARGO_PKG_DESCRIPTION"))
         .arg(
@@ -97,7 +97,7 @@ fn main() {
     };
 
     if matches.is_present("VERBOSE") {
-        eprintln!("info: Solang commit {}", env!("GIT_HASH"));
+        eprintln!("info: Solang version {}", env!("GIT_HASH"));
     }
 
     for filename in matches.values_of("INPUT").unwrap() {