-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from osociety/dev
Preparing to release 1.0.5
- Loading branch information
Showing
55 changed files
with
308 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,9 @@ jobs: | |
- name: Download pub dependencies | ||
run: flutter pub get | ||
|
||
- name: Upgrade pub dependencies | ||
run: flutter pub upgrade | ||
|
||
- name: Run build_runner | ||
run: flutter pub run build_runner build --delete-conflicting-outputs | ||
|
||
|
@@ -100,6 +103,33 @@ jobs: | |
with: | ||
files: ${{ vars.LINUX_BUILD_PATH }}/${{ env.LINUX_ZIP }} | ||
|
||
- name: Build Android App Bundle | ||
run: flutter build appbundle --flavor store | ||
|
||
- name: 'Setup Ruby, JRuby and TruffleRuby' | ||
uses: ruby/[email protected] | ||
with: | ||
ruby-version: 3.1.2 | ||
|
||
- name: Cache bundle dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: vendor/bundle | ||
key: '${{ runner.os }}-gems-${{ hashFiles(''**/Gemfile.lock'') }}' | ||
restore-keys: '${{ runner.os }}-gems-' | ||
|
||
- name: Download bundle dependencies | ||
run: | | ||
gem install bundler:2.3.20 | ||
bundle config path vendor/bundle | ||
bundle install | ||
- name: Release to Google Play | ||
env: | ||
SUPPLY_PACKAGE_NAME: '${{ secrets.ANDROID_PACKAGE_NAME }}' | ||
SUPPLY_JSON_KEY_DATA: '${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}' | ||
run: bundle exec fastlane android deploy | ||
|
||
release-macos: | ||
runs-on: macos-latest | ||
env: | ||
|
@@ -116,6 +146,9 @@ jobs: | |
- name: Download pub dependencies | ||
run: flutter pub get | ||
|
||
- name: Upgrade pub dependencies | ||
run: flutter pub upgrade | ||
|
||
- name: Run build_runner | ||
run: flutter pub run build_runner build --delete-conflicting-outputs | ||
|
||
|
@@ -153,6 +186,9 @@ jobs: | |
|
||
- name: Download pub dependencies | ||
run: flutter pub get | ||
|
||
- name: Upgrade pub dependencies | ||
run: flutter pub upgrade | ||
|
||
- name: Run build_runner | ||
run: flutter pub run build_runner build --delete-conflicting-outputs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "fastlane" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
json_key_file("/Users/paras/Development/keys/pc-api-8425228000688621147-853-39b50356df30.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one | ||
package_name("org.fsociety.vernet.store") # e.g. com.krausefx.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# This file contains the fastlane.tools configuration | ||
# You can find the documentation at https://docs.fastlane.tools | ||
# | ||
# For a list of all available actions, check out | ||
# | ||
# https://docs.fastlane.tools/actions | ||
# | ||
# For a list of all available plugins, check out | ||
# | ||
# https://docs.fastlane.tools/plugins/available-plugins | ||
# | ||
|
||
# Uncomment the line if you want fastlane to automatically update itself | ||
# update_fastlane | ||
|
||
default_platform(:android) | ||
|
||
platform :android do | ||
desc "Runs all the tests" | ||
lane :test do | ||
gradle(task: "test") | ||
end | ||
|
||
desc "Submit a new Beta Build to Crashlytics Beta" | ||
lane :beta do | ||
upload_to_play_store(track: 'beta', aab: '../build/app/outputs/bundle/storeRelease/app-store-release.aab') | ||
|
||
# sh "your_script.sh" | ||
# You can also use other beta testing services here | ||
end | ||
|
||
desc "Deploy a new version to the Google Play" | ||
lane :deploy do | ||
upload_to_play_store(aab: '../build/app/outputs/bundle/storeRelease/app-store-release.aab') | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
fastlane documentation | ||
---- | ||
|
||
# Installation | ||
|
||
Make sure you have the latest version of the Xcode command line tools installed: | ||
|
||
```sh | ||
xcode-select --install | ||
``` | ||
|
||
For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) | ||
|
||
# Available Actions | ||
|
||
## Android | ||
|
||
### android test | ||
|
||
```sh | ||
[bundle exec] fastlane android test | ||
``` | ||
|
||
Runs all the tests | ||
|
||
### android beta | ||
|
||
```sh | ||
[bundle exec] fastlane android beta | ||
``` | ||
|
||
Submit a new Beta Build to Crashlytics Beta | ||
|
||
### android deploy | ||
|
||
```sh | ||
[bundle exec] fastlane android deploy | ||
``` | ||
|
||
Deploy a new version to the Google Play | ||
|
||
---- | ||
|
||
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. | ||
|
||
More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). | ||
|
||
The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Only host scanner, port scanner and ping is supported. |
Oops, something went wrong.