瀏覽代碼

Update Cargo.lock & Add notes on todo in publish.sh

Sasha Hilton 3 年之前
父節點
當前提交
e1c33422a1
共有 2 個文件被更改,包括 25 次插入24 次删除
  1. 23 23
      Cargo.lock
  2. 2 1
      publish.sh

+ 23 - 23
Cargo.lock

@@ -744,7 +744,7 @@ dependencies = [
 
 [[package]]
 name = "librespot"
-version = "0.1.1"
+version = "0.1.2"
 dependencies = [
  "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
  "env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -752,12 +752,12 @@ dependencies = [
  "getopts 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)",
  "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
  "hyper 0.11.27 (registry+https://github.com/rust-lang/crates.io-index)",
- "librespot-audio 0.1.1",
- "librespot-connect 0.1.1",
- "librespot-core 0.1.1",
- "librespot-metadata 0.1.1",
- "librespot-playback 0.1.1",
- "librespot-protocol 0.1.1",
+ "librespot-audio 0.1.2",
+ "librespot-connect 0.1.2",
+ "librespot-core 0.1.2",
+ "librespot-metadata 0.1.2",
+ "librespot-playback 0.1.2",
+ "librespot-protocol 0.1.2",
  "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)",
  "num-bigint 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
  "protobuf 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -773,7 +773,7 @@ dependencies = [
 
 [[package]]
 name = "librespot-audio"
-version = "0.1.1"
+version = "0.1.2"
 dependencies = [
  "aes-ctr 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "bit-set 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -781,7 +781,7 @@ dependencies = [
  "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
  "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
  "lewton 0.9.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "librespot-core 0.1.1",
+ "librespot-core 0.1.2",
  "librespot-tremor 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)",
  "num-bigint 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -792,7 +792,7 @@ dependencies = [
 
 [[package]]
 name = "librespot-connect"
-version = "0.1.1"
+version = "0.1.2"
 dependencies = [
  "aes-ctr 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -802,9 +802,9 @@ dependencies = [
  "hmac 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
  "hyper 0.11.27 (registry+https://github.com/rust-lang/crates.io-index)",
  "libmdns 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
- "librespot-core 0.1.1",
- "librespot-playback 0.1.1",
- "librespot-protocol 0.1.1",
+ "librespot-core 0.1.2",
+ "librespot-playback 0.1.2",
+ "librespot-protocol 0.1.2",
  "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)",
  "num-bigint 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
  "protobuf 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -819,7 +819,7 @@ dependencies = [
 
 [[package]]
 name = "librespot-core"
-version = "0.1.1"
+version = "0.1.2"
 dependencies = [
  "aes 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
  "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -832,7 +832,7 @@ dependencies = [
  "hyper 0.11.27 (registry+https://github.com/rust-lang/crates.io-index)",
  "hyper-proxy 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
  "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "librespot-protocol 0.1.1",
+ "librespot-protocol 0.1.2",
  "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)",
  "num-bigint 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
  "num-integer 0.1.43 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -855,12 +855,12 @@ dependencies = [
 
 [[package]]
 name = "librespot-metadata"
-version = "0.1.1"
+version = "0.1.2"
 dependencies = [
  "byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
  "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
- "librespot-core 0.1.1",
- "librespot-protocol 0.1.1",
+ "librespot-core 0.1.2",
+ "librespot-protocol 0.1.2",
  "linear-map 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)",
  "protobuf 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -868,7 +868,7 @@ dependencies = [
 
 [[package]]
 name = "librespot-playback"
-version = "0.1.1"
+version = "0.1.2"
 dependencies = [
  "alsa 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
  "byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -877,9 +877,9 @@ dependencies = [
  "jack 0.5.7 (registry+https://github.com/rust-lang/crates.io-index)",
  "libc 0.2.73 (registry+https://github.com/rust-lang/crates.io-index)",
  "libpulse-sys 0.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "librespot-audio 0.1.1",
- "librespot-core 0.1.1",
- "librespot-metadata 0.1.1",
+ "librespot-audio 0.1.2",
+ "librespot-core 0.1.2",
+ "librespot-metadata 0.1.2",
  "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)",
  "portaudio-rs 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
  "rodio 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -889,7 +889,7 @@ dependencies = [
 
 [[package]]
 name = "librespot-protocol"
-version = "0.1.1"
+version = "0.1.2"
 dependencies = [
  "protobuf 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "protobuf-codegen 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",

+ 2 - 1
publish.sh

@@ -47,7 +47,7 @@ function publishCrates {
     crate_path="$WORKINGDIR/$CRATE"
     crate_path=${crate_path//\/\///}
     cd $crate_path
-
+    # Also need to update Cargo.lock in root directory
     crate_name=`echo $( awk -v FS="name = " 'NF>1{print $2; exit}' Cargo.toml )`
     echo "Publishing $crate_name to crates.io"
     if [ "$CRATE" == "protocol" ]
@@ -58,6 +58,7 @@ function publishCrates {
       cargo publish
     fi
     echo "Successfully published $crate_name to crates.io"
+    # Should sleep here for 30 seconds to allow Crates.io time to push updated package to edge servers.
   done
 }