π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Revert to simple version code calculation
Prateek Sunald0e888f1eb81
diff --git a/.github/workflows/auth-beta-release.yml b/.github/workflows/auth-beta-release.ymlindex 06c9ea48e0..13cdc65fd6 100644--- a/.github/workflows/auth-beta-release.yml+++ b/.github/workflows/auth-beta-release.yml@@ -88,9 +88,7 @@ jobs:CURRENT_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //')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 * 2) + run_attempt ensures monotonic increase- NEW_VERSION_CODE=$((CURRENT_BUILD + (${{ github.run_number }} * 2) + ${{ github.run_attempt }}))+ NEW_VERSION_CODE=$((CURRENT_BUILD + ${{ github.run_number }}))NEW_VERSION="${VERSION_NAME}+${NEW_VERSION_CODE}"sed -i "s/^version: .*/version: $NEW_VERSION/" pubspec.yaml