release version 1.0.27
This commit is contained in:
@@ -33,18 +33,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Extract release notes
|
- name: Extract release notes
|
||||||
run: |
|
run: |
|
||||||
|
VERSION_CODE=$(grep 'versionCode = ' app/build.gradle.kts | sed 's/.*versionCode = \([0-9]*\).*/\1/')
|
||||||
|
CHANGELOG="fastlane/metadata/android/en-US/changelogs/${VERSION_CODE}.txt"
|
||||||
|
|
||||||
|
if [ -f "$CHANGELOG" ]; then
|
||||||
|
cp "$CHANGELOG" release_notes.md
|
||||||
|
else
|
||||||
|
echo "No changelog found at $CHANGELOG"
|
||||||
echo "No release notes" > release_notes.md
|
echo "No release notes" > release_notes.md
|
||||||
# VERSION="${{ gitea.ref_name }}"
|
fi
|
||||||
# VERSION="${VERSION#v}"
|
|
||||||
#
|
|
||||||
# awk -v ver="$VERSION" '
|
|
||||||
# BEGIN { found=0 }
|
|
||||||
# /^## \[/ {
|
|
||||||
# if (found) exit
|
|
||||||
# if ($0 ~ "\\[" ver "\\]") { found=1; next }
|
|
||||||
# }
|
|
||||||
# found { print }
|
|
||||||
# ' CHANGELOG.md > release_notes.md
|
|
||||||
|
|
||||||
- name: Create Gitea Release
|
- name: Create Gitea Release
|
||||||
env:
|
env:
|
||||||
@@ -104,9 +101,9 @@ jobs:
|
|||||||
APP_NAME="${APP_NAME//\//-}"
|
APP_NAME="${APP_NAME//\//-}"
|
||||||
TAG="${{ gitea.ref_name }}"
|
TAG="${{ gitea.ref_name }}"
|
||||||
ASSET_PATH=".build/release/release/${APP_NAME}-${TAG}.apk"
|
ASSET_PATH=".build/release/release/${APP_NAME}-${TAG}.apk"
|
||||||
CAPTION="${APP_NAME} ${TAG}"
|
CAPTION="$(printf '%s\n\n%s' "${APP_NAME} ${TAG}" "$(cat release_notes.md)" | head -c 1024)"
|
||||||
|
|
||||||
curl -s -X POST "https://api.telegram.org/bot${TG_BOT_TOKEN}/sendDocument" \
|
curl -s -X POST "https://api.telegram.org/bot${TG_BOT_TOKEN}/sendDocument" \
|
||||||
-F "chat_id=${TG_CHAT_ID}" \
|
-F "chat_id=${TG_CHAT_ID}" \
|
||||||
-F "document=@${ASSET_PATH}" \
|
-F "document=@${ASSET_PATH}" \
|
||||||
-F "caption=${CAPTION}"
|
--form-string "caption=${CAPTION}"
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ android {
|
|||||||
applicationId = "sh.sar.basedbank"
|
applicationId = "sh.sar.basedbank"
|
||||||
minSdk = 26
|
minSdk = 26
|
||||||
targetSdk = 36
|
targetSdk = 36
|
||||||
versionCode = 27
|
versionCode = 28
|
||||||
versionName = "1.0.26"
|
versionName = "1.0.27"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
- Redesigned OTP page: codes turn red in the last 5 seconds and there are copy buttons, and you can tap a card to copy its code
|
||||||
|
- OTP page and login setup now also show the next code
|
||||||
|
- Redesigned contacts list: tap a contact to open a details sheet, which now holds the edit and delete buttons
|
||||||
|
- Contact details show the account number, account name, bank and currency
|
||||||
|
- Copy or share a contact's account details, or show a PayMV QR code for them
|
||||||
Reference in New Issue
Block a user