From 8ad295d7ac29a2f6870906b9f3bedc4235ef903c Mon Sep 17 00:00:00 2001 From: Bartosz Firyn Date: Sun, 14 Jul 2013 12:50:10 +0200 Subject: [PATCH] Bump up version in documents, upgrade deployment script --- README.md | 4 ++-- deploy-private.sh | 18 +++++++++++++----- .../webcam-capture-driver-gstreamer/README.md | 2 +- .../webcam-capture-driver-ipcam/README.md | 4 ++-- webcam-capture-pages/src/site/index.html | 2 +- 5 files changed, 19 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5c1b7f05..08f16132 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Below is the newest stable version ZIP containing main project JAR with additional documents, examples and all required 3rd-party dependencies: -* **Latest stable version** - [webcam-capture-0.3.10-RC3-dist.zip](http://www.sarxos.pl/repo/maven2/com/github/sarxos/webcam-capture/0.3.10-RC3/webcam-capture-0.3.10-RC3-dist.zip) +* **Latest stable version** - [webcam-capture-0.3.10-RC4-dist.zip](http://www.sarxos.pl/repo/maven2/com/github/sarxos/webcam-capture/0.3.10-RC4/webcam-capture-0.3.10-RC4-dist.zip) Other releases: @@ -59,7 +59,7 @@ in their own projects. com.github.sarxos webcam-capture - 0.3.10-RC3 + 0.3.10-RC4 ``` diff --git a/deploy-private.sh b/deploy-private.sh index 1335bd96..7139691d 100755 --- a/deploy-private.sh +++ b/deploy-private.sh @@ -1,9 +1,17 @@ #!/bin/bash -git stash -mvn release:update-versions -DautoVersionSubmodules=true -mvn clean deploy -P assembly -git reset --hard -git stash apply && git stash drop +if [[ -n $1 && -n $2 ]]; +then + git stash + mvn release:update-versions -DautoVersionSubmodules=true + mvn clean deploy -P assembly + git reset --hard + find . -type f -exec sed -i 's/$1/$2/g' {} \; +else + echo "Missing version arguments. Usage: $0 [old-version] [new-version]" + exit 1 +fi + +exit 0 diff --git a/webcam-capture-drivers/webcam-capture-driver-gstreamer/README.md b/webcam-capture-drivers/webcam-capture-driver-gstreamer/README.md index 88743500..2aecdb76 100644 --- a/webcam-capture-drivers/webcam-capture-driver-gstreamer/README.md +++ b/webcam-capture-drivers/webcam-capture-driver-gstreamer/README.md @@ -16,7 +16,7 @@ Below is the newest stable version ZIP containing main project JAR with additional documents, examples and all required 3rd-party dependencies: -* **Latest stable version** - [webcam-capture-driver-gstreamer-0.3.10-RC3-dist.zip](http://www.sarxos.pl/repo/maven2/com/github/sarxos/webcam-capture-driver-gstreamer/0.3.10-RC3/webcam-capture-driver-gstreamer-0.3.10-RC3-dist.zip) +* **Latest stable version** - [webcam-capture-driver-gstreamer-0.3.10-RC4-dist.zip](http://www.sarxos.pl/repo/maven2/com/github/sarxos/webcam-capture-driver-gstreamer/0.3.10-RC4/webcam-capture-driver-gstreamer-0.3.10-RC4-dist.zip) ## Example diff --git a/webcam-capture-drivers/webcam-capture-driver-ipcam/README.md b/webcam-capture-drivers/webcam-capture-driver-ipcam/README.md index 67ecf122..e411d3b2 100644 --- a/webcam-capture-drivers/webcam-capture-driver-ipcam/README.md +++ b/webcam-capture-drivers/webcam-capture-driver-ipcam/README.md @@ -28,7 +28,7 @@ Below is the newest stable version ZIP containing main project JAR with additional documents, examples and all required 3rd-party dependencies: -* **Latest stable version** - [webcam-capture-driver-ipcam-0.3.10-RC3-dist.zip](http://www.sarxos.pl/repo/maven2/com/github/sarxos/webcam-capture-driver-ipcam/0.3.10-RC3/webcam-capture-driver-ipcam-0.3.10-RC3-dist.zip) +* **Latest stable version** - [webcam-capture-driver-ipcam-0.3.10-RC4-dist.zip](http://www.sarxos.pl/repo/maven2/com/github/sarxos/webcam-capture-driver-ipcam/0.3.10-RC4/webcam-capture-driver-ipcam-0.3.10-RC4-dist.zip) * Previous stable version - [webcam-capture-driver-ipcam-0.3.9-dist.zip](http://www.sarxos.pl/repo/maven2/com/github/sarxos/webcam-capture-driver-ipcam/0.3.9/webcam-capture-driver-ipcam-0.3.9-dist.zip) @@ -46,7 +46,7 @@ Latest stable version: com.github.sarxos webcam-capture-driver-ipcam - 0.3.10-RC3 + 0.3.10-RC4 ``` diff --git a/webcam-capture-pages/src/site/index.html b/webcam-capture-pages/src/site/index.html index 9c265ac5..83fb68e4 100644 --- a/webcam-capture-pages/src/site/index.html +++ b/webcam-capture-pages/src/site/index.html @@ -31,7 +31,7 @@

Webcam Capture

Download: