Skip to content

Commit

Permalink
feat: automate melos release (#593)
Browse files Browse the repository at this point in the history
* fix: issues on pub.dev lowering the package scores

* feat: add github action for melos publish

* refactor: improve workflow name
  • Loading branch information
dtscalac authored Jul 4, 2024
1 parent fc16832 commit 7e4bf29
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 6 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/flutter-publish-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish Flutter Packages

on: workflow_dispatch

permissions:
contents: write
pull-requests: write
id-token: write

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
publish-packages:
name: Publish Flutter Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.22.1
- uses: bluefireteam/melos-action@v3
with:
run-versioning: true
publish-dry-run: true
publish: true
create-pr: true
git-email: [email protected]
git-name: "Melos Action"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: catalyst_cardano
description: A Flutter plugin exposing the CIP-30 and CIP-95 APIs.
description: A Flutter plugin exposing the CIP-30 and CIP-95 APIs. Allows to communicate with the Cardano Wallet Extension via js_interop integration.
repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_cardano/catalyst_cardano
issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues
topics: [blockchain, cardano, cryptocurrency, wallet]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
void main() {
// ignore: avoid_print
print('Example is located in catalyst_cardano/example directory.');
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
void main() {
// ignore: avoid_print
print('Example is located in catalyst_cardano/example directory.');
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: catalyst_cardano_web
description: Web platform implementation of catalyst_cardano
description: Web platform implementation of catalyst_cardano. Allows to communicate with the Cardano Wallet Extension via js_interop integration.
repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web
issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues
topics: [blockchain, cardano, cryptocurrency, wallet]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ environment:

dependencies:
bech32: ^0.2.2
bip32_ed25519: ^0.5.0
bip32_ed25519: ^0.6.0
cbor: ^6.2.0
convert: ^3.1.1
equatable: ^2.0.5
pinenacl: ^0.5.1
pinenacl: ^0.6.0

dev_dependencies:
catalyst_analysis:
Expand Down
4 changes: 2 additions & 2 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ command:
result_type: ^0.2.0
plugin_platform_interface: ^2.1.7
bech32: ^0.2.2
bip32_ed25519: ^0.5.0
bip32_ed25519: ^0.6.0
cbor: ^6.2.0
convert: ^3.1.1
pinenacl: ^0.5.1
pinenacl: ^0.6.0
dev_dependencies:
test: ^1.24.9
build_runner: ^2.3.3
Expand Down

0 comments on commit 7e4bf29

Please sign in to comment.