hash branch name

This commit is contained in:
OmarHatem 2024-03-01 23:40:02 +02:00
parent 29608ff0db
commit e2df34aa9f

View file

@ -150,8 +150,8 @@ jobs:
- name: Rename app
run: |
x=`md5sum <<<"my string"`
echo -e "id=com.cakewallet.test_\$x\nname=${{ env.BRANCH_NAME }}" > /opt/android/cake_wallet/android/app.properties
hash=`md5sum <<<"${{ env.BRANCH_NAME }}"`
echo -e "id=com.cakewallet.test_${{ hash }}\nname=${{ env.BRANCH_NAME }}" > /opt/android/cake_wallet/android/app.properties
- name: Build
run: |