Skip to content

Commit 8ad295d

Browse files
committed
Bump up version in documents, upgrade deployment script
1 parent 5bce551 commit 8ad295d

File tree

5 files changed

+19
-11
lines changed

5 files changed

+19
-11
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Below is the newest stable version ZIP containing main project
2424
JAR with additional documents, examples and all required 3rd-party
2525
dependencies:
2626

27-
* **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)
27+
* **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)
2828

2929
Other releases:
3030

@@ -59,7 +59,7 @@ in their own projects.
5959
<dependency>
6060
<groupId>com.github.sarxos</groupId>
6161
<artifactId>webcam-capture</artifactId>
62-
<version>0.3.10-RC3</version>
62+
<version>0.3.10-RC4</version>
6363
</dependency>
6464
```
6565

deploy-private.sh

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
#!/bin/bash
22

3-
git stash
4-
mvn release:update-versions -DautoVersionSubmodules=true
5-
mvn clean deploy -P assembly
6-
git reset --hard
7-
git stash apply && git stash drop
3+
if [[ -n $1 && -n $2 ]];
4+
then
5+
git stash
6+
mvn release:update-versions -DautoVersionSubmodules=true
7+
mvn clean deploy -P assembly
8+
git reset --hard
9+
find . -type f -exec sed -i 's/$1/$2/g' {} \;
10+
else
11+
echo "Missing version arguments. Usage: $0 [old-version] [new-version]"
12+
exit 1
13+
fi
14+
15+
exit 0
816

917

webcam-capture-drivers/webcam-capture-driver-gstreamer/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Below is the newest stable version ZIP containing main project
1616
JAR with additional documents, examples and all required 3rd-party
1717
dependencies:
1818

19-
* **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)
19+
* **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)
2020

2121
## Example
2222

webcam-capture-drivers/webcam-capture-driver-ipcam/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Below is the newest stable version ZIP containing main project
2828
JAR with additional documents, examples and all required 3rd-party
2929
dependencies:
3030

31-
* **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)
31+
* **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)
3232
* 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)
3333

3434

@@ -46,7 +46,7 @@ Latest stable version:
4646
<dependency>
4747
<groupId>com.github.sarxos</groupId>
4848
<artifactId>webcam-capture-driver-ipcam</artifactId>
49-
<version>0.3.10-RC3</version>
49+
<version>0.3.10-RC4</version>
5050
</parent>
5151
```
5252

webcam-capture-pages/src/site/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h1>Webcam Capture</h1>
3131
<div class="downloads">
3232
<span>Download:</span>
3333
<ul>
34-
<li><a href="http://repo.sarxos.pl/maven2/com/github/sarxos/webcam-capture/0.3.10-RC3/webcam-capture-0.3.10-RC3-dist.zip" class="button">ZIP</a></li>
34+
<li><a href="http://repo.sarxos.pl/maven2/com/github/sarxos/webcam-capture/0.3.10-RC4/webcam-capture-0.3.10-RC4-dist.zip" class="button">ZIP</a></li>
3535
</ul>
3636
</div>
3737
</div><!-- end banner -->

0 commit comments

Comments
 (0)