π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Use * 2 multiplier for version code calculation
Prateek Sunal46f9a2e1d9a3
diff --git a/.github/workflows/auth-beta-release.yml b/.github/workflows/auth-beta-release.ymlindex 8fcce36ff3..06c9ea48e0 100644--- a/.github/workflows/auth-beta-release.yml+++ b/.github/workflows/auth-beta-release.yml@@ -89,8 +89,8 @@ jobs:VERSION_NAME=$(echo $CURRENT_VERSION | cut -d'+' -f1)CURRENT_BUILD=$(echo $CURRENT_VERSION | cut -d'+' -f2)# Combine run_number and run_attempt for unique version codes across re-runs- # Formula: base + (run_number * 100) + run_attempt ensures monotonic increase- NEW_VERSION_CODE=$((CURRENT_BUILD + (${{ github.run_number }} * 100) + ${{ github.run_attempt }}))+ # Formula: base + (run_number * 2) + run_attempt ensures monotonic increase+ NEW_VERSION_CODE=$((CURRENT_BUILD + (${{ github.run_number }} * 2) + ${{ github.run_attempt }}))NEW_VERSION="${VERSION_NAME}+${NEW_VERSION_CODE}"sed -i "s/^version: .*/version: $NEW_VERSION/" pubspec.yaml