init
This commit is contained in:
commit
c63298b02f
70 changed files with 1977 additions and 0 deletions
22
.github/workflows/shorebird_patch.yaml
vendored
Normal file
22
.github/workflows/shorebird_patch.yaml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: Shorebird Patch
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version_to_patch:
|
||||
description: 'Version to patch: format: 1.0.0+7'
|
||||
type: string
|
||||
jobs:
|
||||
shorebird_patch:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: 🐦 Setup Shorebird
|
||||
uses: shorebirdtech/setup-shorebird@v1
|
||||
- name: Create Patch
|
||||
env:
|
||||
SHOREBIRD_TOKEN: ${{ secrets.SHOREBIRD_TOKEN }}
|
||||
run: |
|
||||
echo y | shorebird patch --platforms=android --release-version=${{ github.event.inputs.version_to_patch }}
|
||||
25
.github/workflows/shorebird_release.yaml
vendored
Normal file
25
.github/workflows/shorebird_release.yaml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: Shorebird Release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [ published ]
|
||||
|
||||
jobs:
|
||||
shorebird_release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: 🐦 Setup Shorebird
|
||||
uses: shorebirdtech/setup-shorebird@v1
|
||||
- name: Create release
|
||||
env:
|
||||
SHOREBIRD_TOKEN: ${{ secrets.SHOREBIRD_TOKEN }}
|
||||
SIGNING_KEYSTORE_BASE64: ${{ secrets.SIGNING_KEYSTORE_BASE64 }}
|
||||
SIGNING_PROPERTIES: ${{ secrets.SIGNING_PROPERTIES }}
|
||||
run: |
|
||||
echo "$SIGNING_KEYSTORE_BASE64" | base64 --decode > android/app/experiment.jks
|
||||
echo "$SIGNING_PROPERTIES" > android/signing.properties
|
||||
flutter_version=`cat .fvmrc | grep -o "flutter.*" | grep -o "[0-9.]*"`
|
||||
echo y | shorebird release android --flutter-version $flutter_version -- --dart-define-from-file=.env/app.json --obfuscate --split-debug-info=build/outputs/symbols
|
||||
Loading…
Add table
Add a link
Reference in a new issue