Skip to content

Commit

Permalink
Bump up version in documents, upgrade deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
sarxos committed Jul 14, 2013
1 parent 5bce551 commit 8ad295d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -59,7 +59,7 @@ in their own projects.
<dependency>
<groupId>com.github.sarxos</groupId>
<artifactId>webcam-capture</artifactId>
<version>0.3.10-RC3</version>
<version>0.3.10-RC4</version>
</dependency>
```

Expand Down
18 changes: 13 additions & 5 deletions deploy-private.sh
Original file line number Diff line number Diff line change
@@ -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


Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions webcam-capture-drivers/webcam-capture-driver-ipcam/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand All @@ -46,7 +46,7 @@ Latest stable version:
<dependency>
<groupId>com.github.sarxos</groupId>
<artifactId>webcam-capture-driver-ipcam</artifactId>
<version>0.3.10-RC3</version>
<version>0.3.10-RC4</version>
</parent>
```

Expand Down
2 changes: 1 addition & 1 deletion webcam-capture-pages/src/site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1>Webcam Capture</h1>
<div class="downloads">
<span>Download:</span>
<ul>
<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>
<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>
</ul>
</div>
</div><!-- end banner -->
Expand Down

0 comments on commit 8ad295d

Please sign in to comment.