Compare commits
	
		
			1 Commits
		
	
	
		
			b65d184f48
			...
			v0.0.20
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| a1b9f8e9e6 | 
@@ -1,7 +1,7 @@
 | 
				
			|||||||
on:
 | 
					on:
 | 
				
			||||||
  push:
 | 
					  push:
 | 
				
			||||||
    branches:
 | 
					    tags:
 | 
				
			||||||
      - main
 | 
					      - 'v*'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  build:
 | 
					  build:
 | 
				
			||||||
@@ -24,13 +24,20 @@ jobs:
 | 
				
			|||||||
      - name: Setup android SDK
 | 
					      - name: Setup android SDK
 | 
				
			||||||
        uses: android-actions/setup-android@v3
 | 
					        uses: android-actions/setup-android@v3
 | 
				
			||||||
      
 | 
					      
 | 
				
			||||||
 | 
					      - name: Install Flutter
 | 
				
			||||||
 | 
					        uses: subosito/flutter-action@v2
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          channel: stable
 | 
				
			||||||
 | 
					          flutter-version: 3.22.0
 | 
				
			||||||
 | 
					          cache: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Infer version number from git tag
 | 
					      - name: Infer version number from git tag
 | 
				
			||||||
        id: version
 | 
					        id: version
 | 
				
			||||||
        env: 
 | 
					        env: 
 | 
				
			||||||
          REF_NAME: ${{ github.ref_name }}
 | 
					          REF_NAME: ${{ github.ref_name }}
 | 
				
			||||||
        run:
 | 
					        run:
 | 
				
			||||||
          # remove the 'v' prefix from the tag name
 | 
					          # remove the 'v' prefix from the tag name
 | 
				
			||||||
          echo "VERSION=${REF_NAME//v}" >> $GITHUB_OUTPUT
 | 
					          echo "VERSION_NAME=${REF_NAME//v}" >> $GITHUB_ENV
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Load secrets from github
 | 
					      - name: Load secrets from github
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
@@ -46,5 +53,4 @@ jobs:
 | 
				
			|||||||
      - name: Run fastlane lane
 | 
					      - name: Run fastlane lane
 | 
				
			||||||
        run: bundle exec fastlane deploy_testing
 | 
					        run: bundle exec fastlane deploy_testing
 | 
				
			||||||
        working-directory: android
 | 
					        working-directory: android
 | 
				
			||||||
        env:
 | 
					        # the environment variable VERSION_NAME is implicitly available
 | 
				
			||||||
          VERSION_NAME: ${{ steps.version.VERSION }}
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										3
									
								
								frontend/android/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								frontend/android/.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -1,3 +1,6 @@
 | 
				
			|||||||
 | 
					gradlew
 | 
				
			||||||
 | 
					gradlew.bat
 | 
				
			||||||
 | 
					gradle/
 | 
				
			||||||
/.gradle
 | 
					/.gradle
 | 
				
			||||||
/captures/
 | 
					/captures/
 | 
				
			||||||
/local.properties
 | 
					/local.properties
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,10 +7,14 @@ platform :android do
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  desc "Deploy a new version as a preview version"
 | 
					  desc "Deploy a new version as a preview version"
 | 
				
			||||||
  lane :deploy_testing do
 | 
					  lane :deploy_testing do
 | 
				
			||||||
 | 
					    version_name = ENV["VERSION_NAME"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    sh(
 | 
					    sh(
 | 
				
			||||||
      "flutter build appbundle --release",
 | 
					      "flutter",
 | 
				
			||||||
      "--build-name=",
 | 
					      "build",
 | 
				
			||||||
      ENV["VERSION_NAME"],
 | 
					      "appbundle",
 | 
				
			||||||
 | 
					      "--release",
 | 
				
			||||||
 | 
					      "--build-name=#{version_name}",
 | 
				
			||||||
      )
 | 
					      )
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    upload_to_play_store(
 | 
					    upload_to_play_store(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user