Skip to content

Commit

Permalink
release 6.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
felHR85 committed Mar 9, 2019
1 parent dcc5063 commit 9458b7f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ Then add the dependency to your module's build.gradle:

/app/build.gradle
```groovy
implementation 'com.github.felHR85:UsbSerial:6.0.3'
implementation 'com.github.felHR85:UsbSerial:6.0.4'
```

TO-DO
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=6.0.3
VERSION_NAME=6.0.4
VERSION_CODE=1
ANDROID_BUILD_MIN_SDK_VERSION=12
ANDROID_BUILD_TARGET_SDK_VERSION=27
Expand Down
9 changes: 5 additions & 4 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ esac
done

# Show error message if no version was provided
if [ -z ${VERSION} ];
if [[ -z ${VERSION} ]];
then
echo "UsbSerial: Error!! No version was provided"
exit 0
fi

# Show error message if no message was provided
if [ -z ${MESSAGE} ];
if [[ -z ${MESSAGE} ]];
then
echo "UsbSerial: Error!! No message was provided"
exit 0
Expand All @@ -45,8 +45,9 @@ ex -sc "${LINE}i|$GRADLE_LINE" -cx README.md
./gradlew clean build

# Git stuff
git commit -m $MESSAGE
git tag $VERSION
git add .
git commit -m "${MESSAGE}"
git tag ${VERSION}
git push origin master
git push --tags

Expand Down

0 comments on commit 9458b7f

Please sign in to comment.