Skip to content

Commit

Permalink
Merge branch 'flutter_app' into flutter_app
Browse files Browse the repository at this point in the history
  • Loading branch information
adityastic authored Jun 5, 2024
2 parents e956f72 + 7aa6cbb commit bd99e09
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name-template: Release v$NEXT_MINOR_VERSION 🌈
tag-template: v$NEXT_MINOR_VERSION
categories:
- title: 🚀 Features
label:
- feature
- feat
- title: 🐛 Bug Fixes
label: fix
- title: 🧰 Maintenance
label: chore
- title: Dependencies and Libraries
label:
- dependencies
- chore(deps)
change-template: '- $TITLE (#$NUMBER) - @$AUTHOR'
template: |-
## Changes
$CHANGES
## Contributors
Thanks a lot to our contributors for making this release possible:
$CONTRIBUTORS
2 changes: 2 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
run: flutter analyze

android:
name: Android Flutter Build
needs: common
runs-on: ubuntu-latest
steps:
Expand All @@ -42,6 +43,7 @@ jobs:
flutter build appbundle
ios:
name: iOS Flutter Build
needs: common
runs-on: macos-latest
steps:
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:

android:
name: Android Flutter Build
needs: common
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -182,6 +183,7 @@ jobs:
fi
ios:
name: iOS Flutter Build
needs: common
runs-on: macos-latest
steps:
Expand All @@ -200,4 +202,16 @@ jobs:
VERSION_NAME: ${{needs.common.outputs.VERSION_NAME}}
VERSION_CODE: ${{needs.common.outputs.VERSION_CODE}}
run: |
flutter build ipa --no-codesign --build-name $VERSION_NAME --build-number $VERSION_CODE
flutter build ipa --no-codesign --build-name $VERSION_NAME --build-number $VERSION_CODE
update-release:
needs: [common, android, ios]
runs-on: ubuntu-latest
steps:
- name: Run Release Drafter
uses: release-drafter/release-drafter@v6
with:
version: ${{ needs.common.outputs.VERSION_NAME }}
name: 'Release v${{ needs.common.outputs.VERSION_NAME }}'
tag: 'v${{ needs.common.outputs.VERSION_CODE }}'

23 changes: 23 additions & 0 deletions .github/workflows/semantic_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Semantic Validation"

on:
pull_request_target:
types:
- opened
- edited
- synchronize

permissions:
pull-requests: write

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
ignoreLabels: |
chore(deps)
13 changes: 13 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"dart-code.flutter"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [

]
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"[dart]": {
"editor.defaultFormatter": "Dart-Code.dart-code",
"editor.formatOnSave": true,
}
}

0 comments on commit bd99e09

Please sign in to comment.