Skip to content

Commit

Permalink
docs: improve generation setting
Browse files Browse the repository at this point in the history
Release-As: 1.0.0-dev.6
  • Loading branch information
benthillerkus committed Apr 11, 2022
1 parent 1a7104c commit 02efff9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
@@ -1,21 +1,20 @@
name: publish to pub.dev


on:
push:
branches:
- main
paths:
- 'pubspec.yaml'
- "pubspec.yaml"

jobs:
publishing:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
- name: "Checkout"
uses: actions/checkout@v2 # required!
- name: '>> Dart package <<'

- name: ">> Dart package <<"
uses: k-paxian/dart-package-publisher@master
with:
accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Expand Up @@ -3,10 +3,10 @@ on:
branches:
- main
paths-ignore:
- '.github/**'
- '.vscode/**'
- 'test/**'
- ".github/**"
- ".vscode/**"
- "test/**"

name: release-please
jobs:
release-please:
Expand All @@ -17,8 +17,9 @@ jobs:
release-type: simple
package-name: release-please-action
version-file: version.txt
extra-files: |
extra-files: |
pubspec.yaml
dartdoc_options.yaml
changelog-types: |
[
{ "type": "feat", "section": "Features", "hidden": false },
Expand All @@ -28,4 +29,3 @@ jobs:
{ "type": "ci","section": "Miscellaneous", "hidden": true },
{ "type": "docs", "section": "Documentation", "hidden": false }
]
4 changes: 2 additions & 2 deletions .github/workflows/score.yml
Expand Up @@ -4,8 +4,8 @@ on:
branches:
- main
paths:
- '**.dart'
- 'pubspec.yaml'
- "**.dart"
- "pubspec.yaml"

jobs:
package-analysis:
Expand Down
4 changes: 4 additions & 0 deletions dartdoc_options.yaml
@@ -0,0 +1,4 @@
dartdoc:
link-to-source:
root: "."
uriTemplate: "https://github.com/benthillerkus/betrayal/blob/1.0.0-dev.5/%f%#L%l%" # x-release-please-version
2 changes: 1 addition & 1 deletion lib/src/image.dart
Expand Up @@ -75,7 +75,7 @@ Continuing under the assumption that only the file extension is wrong""");
setIcon = (id, plugin) => plugin.removeImage(id);
}

/// The call into the plugin to set the image for a [TrayIcon] with the given [id].
/// The call into the plugin to set the image for a [TrayIcon] with the given [Id].
@protected
late final Future<void> Function(Id id, BetrayalPlugin plugin) setIcon;
}

0 comments on commit 02efff9

Please sign in to comment.