Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Publish

on:
push:
tags:
- "v*"

jobs:
publish_release:
timeout-minutes: 5

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: kuhnroyal/flutter-fvm-config-action@v3
id: fvm-config-action

- uses: subosito/flutter-action@v2.18.0
with:
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}

- name: install dependencies
run: flutter pub get

- name: Validate
run: dart run devtools_extensions validate --package=.

- name: Build and Copy
run: dart run devtools_extensions build_and_copy --source=. --dest=./extension/devtools

- name: Publish
run: dart pub publish
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ app.*.map.json
/android/app/profile
/android/app/release

*/extension/devtools/build/*
!/*/extension/devtools/build/.gitkeep
/extension/devtools/build/*
/example/extension/devtools/build/*
!*/extension/devtools/build/.gitkeep

# FVM Version Cache
.fvm/
Expand Down
9 changes: 9 additions & 0 deletions .pubignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.github
.idea

analysis_options.yaml
devtools_options.yaml
panache.iml

example/
test/
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 0.0.1-dev.1

* Initial release. This package is under construction.
4 changes: 2 additions & 2 deletions extension/devtools/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: panache
issueTracker: https://github.com/offich/panache/issues
version: 0.0.1
version: 0.0.1-dev.1
materialIconCodePoint: '0xe651'
requiresConnection: true
requiresConnection: false
3 changes: 1 addition & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: panache
description: "Lorem Ipsum Dummy Text Generator for Flutter DevTools Extension"
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
Expand All @@ -16,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.0+1
version: 0.0.1-dev.1

environment:
sdk: ^3.6.0
Expand Down