Skip to content

Commit

Permalink
Merge pull request #34 from aliascash/develop_android
Browse files Browse the repository at this point in the history
Fixed GitHub tag creation for builds from Android master branch
  • Loading branch information
HLXEasy authored Sep 6, 2021
2 parents ebdc09c + ad99ef9 commit 9a6c527
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
majorVersion=$(grep CLIENT_VERSION_MAJOR ${{ github.workspace }}/CMakeLists.txt | head -n1 | cut -d ' ' -f2 | sed 's/)//g' | tr -d '\\n' | tr -d '\\r' | sed 's/ //g')
minorVersion=$(grep CLIENT_VERSION_MINOR ${{ github.workspace }}/CMakeLists.txt | head -n1 | cut -d ' ' -f2 | sed 's/)//g' | tr -d '\\n' | tr -d '\\r' | sed 's/ //g')
bugfixVersion=$(grep CLIENT_VERSION_REVISION ${{ github.workspace }}/CMakeLists.txt | head -n1 | cut -d ' ' -f2 | sed 's/)//g' | tr -d '\\n' | tr -d '\\r' | sed 's/ //g')
codeVersion=$(grep ANDROID_VERSION_CODE ${{ github.workspace }}/CMakeLists.txt | head -n1 | cut -d ' ' -f2 | sed 's/)//g' | tr -d '\\n' | tr -d '\\r' | sed 's/ //g')
codeVersion=$(grep ANDROID_VERSION_CODE ${{ github.workspace }}/CMakeLists.txt | head -n2 | tail -n1 | cut -d ' ' -f2 | sed 's/)//g' | tr -d '\\n' | tr -d '\\r' | sed 's/ //g')
echo "::set-output name=alias_release::$(printf '%s.%s.%s.%s-Android' $majorVersion $minorVersion $bugfixVersion $codeVersion)"
else
echo "::set-output name=alias_release::Build${{ github.run_number }}-Android"
Expand Down
2 changes: 1 addition & 1 deletion Docker/Android/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: MIT

### At first perform source build ###
FROM aliascash/alias-wallet-builder-android:1.1 as build
FROM aliascash/alias-wallet-builder-android:1.2 as build
MAINTAINER HLXEasy <[email protected]>

# Build parameters
Expand Down
2 changes: 1 addition & 1 deletion Docker/Android/Dockerfile_noUpload
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: MIT

### At first perform source build ###
FROM aliascash/alias-wallet-builder-android:1.1
FROM aliascash/alias-wallet-builder-android:1.2
MAINTAINER HLXEasy <[email protected]>

# Build parameters
Expand Down

0 comments on commit 9a6c527

Please sign in to comment.