Skip to content

Commit

Permalink
.github/scripts/brave-new-pipe-releast-actions.sh add detect_build_to…
Browse files Browse the repository at this point in the history
…ols_version() method
  • Loading branch information
evermind-zz committed Mar 11, 2024
1 parent 3da244f commit 26aa28e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/scripts/brave-new-pipe-releast-actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ create_json_file_and_create_tagged_release() {
create_tagged_release "$BNP_R_MGR_REPO" "$L_BRANCH" "\"version\": \"$VERSION_NAME\""
}

BUILD_TOOLS_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1)
detect_build_tools_version() {
ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1)
}

BUILD_TOOLS_VERSION="${BUILD_TOOLS_VERSION:-$(detect_build_tools_version)}"

AAPT=$ANDROID_HOME/build-tools/$BUILD_TOOLS_VERSION/aapt

Expand Down

0 comments on commit 26aa28e

Please sign in to comment.