Skip to content

Commit

Permalink
Merge pull request #164 from nimblehq/release/1.5.0
Browse files Browse the repository at this point in the history
Release 1.5.0
  • Loading branch information
luongvo authored Mar 2, 2023
2 parents 461a444 + b441e8f commit e52894d
Show file tree
Hide file tree
Showing 118 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set new version
id: set_version
run: |
perl -i -pe 's/^(version:\s+\d+\.\d+\.\d+\+)(\d+)$/"version: ${{ github.event.inputs.newVersion }}+".($2+1)/e' ./.template/pubspec.yaml
perl -i -pe 's/^(version:\s+\d+\.\d+\.\d+\+)(\d+)$/"version: ${{ github.event.inputs.newVersion }}+".($2+1)/e' ./template/pubspec.yaml
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PYTHON3 := $(shell command -v python3 2> /dev/null)
VENV_ACTIVATE=$(VENV_NAME)/bin/activate
PYTHON=$(VENV_NAME)/bin/python3

PROJECT_PATH=$(PWD)/.template
PROJECT_PATH=$(PWD)/template
PACKAGE_NAME=
PROJECT_NAME=
APP_NAME=
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def clean_up(files):
# Remove the `.github` folder to avoid redundant workflow
clean_up(['.github'])
move_project_to_root(project)
clean_up(['.template', 'LICENSE', 'Makefile'])
clean_up(['template', 'LICENSE', 'Makefile'])
print("=> 🚀 Done! Project is ready for the next development 🙌")
except:
print("❌ There is something wrong! Please try again.")
Expand Down
2 changes: 1 addition & 1 deletion scripts/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from setup import Android, Project, Ios, Flutter

# After creating a new project, the new project will be created in the current directory.
expected_project_path = os.environ.get("PROJECT_PATH").replace("/.template", "") if os.environ.get("RUNNING_TEST_MODE") == "0" else os.environ.get("PROJECT_PATH")
expected_project_path = os.environ.get("PROJECT_PATH").replace("/template", "") if os.environ.get("RUNNING_TEST_MODE") == "0" else os.environ.get("PROJECT_PATH")
expected_package_name = os.environ.get("PACKAGE_NAME") if bool(os.environ.get("PACKAGE_NAME")) else "co.nimblehq.flutter.template"
expected_app_name = os.environ.get("APP_NAME") if bool(os.environ.get("APP_NAME")) else "Flutter Templates"
expected_project_name = os.environ.get("PROJECT_NAME") if bool(os.environ.get("PROJECT_NAME")) else "flutter_templates"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: macOS-latest
defaults:
run:
working-directory: .template
working-directory: template
env:
TEAM_ID: ${{ secrets.TEAM_ID }}
FASTLANE_USER: ${{ secrets.FASTLANE_USER }}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion .template/README.md → template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Clone the repository

- Run unit testing:

- `$ fvm flutter test .`
- `$ fvm flutter test`

- Run integration testing:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ linter:
analyzer:
exclude: [
lib/**.g.dart,
lib/**.gen.dart,
lib/**.config.dart,
lib/**.freezed.dart,
test/**.mocks.dart
]
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:exported="true"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion .template/pubspec.yaml → template/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.4.0+14
version: 1.5.0+15

environment:
sdk: ">=2.17.5 <3.0.0"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit e52894d

Please sign in to comment.