forked from KangLin/RabbitIm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
99 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ThirdLibrary
updated
6 files
+1 −0 | README.md | |
+8 −7 | build_script/build_OsgQt.sh | |
+8 −5 | build_script/build_envsetup_android.sh | |
+1 −1 | build_script/build_libvpx.sh | |
+2 −2 | build_script/build_rabbitim.sh | |
+1 −1 | build_script/ci/build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/bin/bash | ||
|
||
SOURCE_DIR=`pwd` | ||
|
||
if [ -n "$1" ]; then | ||
VERSION=`git describe --tags` | ||
if [ -z "$VERSION" ]; then | ||
VERSION=` git rev-parse HEAD` | ||
fi | ||
|
||
echo "Current verion: $VERSION, The version to will be set: $1" | ||
read -t 30 -p "Be sure to input Y, not input N: " INPUT | ||
if [ "$INPUT" != "Y" -a "$INPUT" != "y" ]; then | ||
exit 0 | ||
fi | ||
git tag -a $1 -m "Release $1" | ||
./tag.sh | ||
fi | ||
|
||
VERSION=`git describe --tags` | ||
if [ -z "$VERSION" ]; then | ||
VERSION=` git rev-parse HEAD` | ||
fi | ||
|
||
#sed -i "s/^\!define PRODUCT_VERSION.*/\!define PRODUCT_VERSION \"${VERSION}\"/g" ${SOURCE_DIR}/Install/Install.nsi | ||
|
||
APPVERYOR_VERSION="version: '${VERSION}.{build}'" | ||
sed -i "s/^version: '.*{build}'/${APPVERYOR_VERSION}/g" ${SOURCE_DIR}/appveyor.yml | ||
|
||
#git tag -a v${VERSION} -m "Release v${VERSION}" | ||
#git push origin :refs/tags/v${VERSION} | ||
#git push origin v${VERSION} | ||
|
||
if [ -n "$1" ]; then | ||
git add . | ||
git commit -m "Release $1" | ||
git push | ||
git tag -d $1 | ||
git tag -a $1 -m "Release $1" | ||
git push origin :refs/tags/$1 | ||
git push origin $1 | ||
fi |