Skip to content

Commit

Permalink
use dart pub bump instead of cider package (#677)
Browse files Browse the repository at this point in the history
* #625

* reset

* fix
  • Loading branch information
sensuikan1973 authored Dec 13, 2024
1 parent d0af06b commit a9203b8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 61 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: inject current version
shell: bash # for windows
run: echo "CURRENT_VERSION=$(dart run cider version)" >> $GITHUB_ENV
run: echo "CURRENT_VERSION=$(dart pub deps --style compact | grep "libedax4dart" | cut -c 14-)" >> $GITHUB_ENV

- name: build libedax
shell: bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/create_release_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ on:
- patch
- minor
- major
- breaking
required: true
# Although I can use https://github.com/f3ath/cider#changelog, I don't describe libedax4dart CHANGELOG with large text and I decided to implement simple workflow.
# I don't describe libedax4dart CHANGELOG with large text and I decided to implement simple workflow.
changelog_description:
type: string
description: 'description for CHANGELOG'
Expand All @@ -31,10 +32,10 @@ jobs:
- uses: dart-lang/setup-dart@v1

- name: bump version
run: dart run cider bump ${{ github.event.inputs.version_bump_part }}
run: dart pub bump ${{ github.event.inputs.version_bump_part }}

- name: inject current version
run: echo "CURRENT_VERSION=$(dart run cider version)" >> $GITHUB_ENV
run: echo "CURRENT_VERSION=$(dart pub deps --style compact | grep "libedax4dart" | cut -c 14-)" >> $GITHUB_ENV

- name: update CHANGELOG
run: |
Expand Down
56 changes: 0 additions & 56 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.2"
change:
dependency: transitive
description:
name: change
sha256: "65db7f966dc7e786687f49900a94c5f08b0eb9ca8c4a3e7eed3a55e980b455e2"
url: "https://pub.dev"
source: hosted
version: "0.7.4"
checked_yaml:
dependency: transitive
description:
Expand All @@ -62,14 +54,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.3"
cider:
dependency: "direct dev"
description:
name: cider
sha256: dfff70e9324f99e315857c596c31f54cb7380cfa20dfdfdca11a3631e05b7d3e
url: "https://pub.dev"
source: hosted
version: "0.2.8"
cli_util:
dependency: transitive
description:
Expand All @@ -78,14 +62,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.4.2"
clock:
dependency: transitive
description:
name: clock
sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b
url: "https://pub.dev"
source: hosted
version: "1.1.2"
collection:
dependency: transitive
description:
Expand Down Expand Up @@ -214,14 +190,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.1.1"
intl:
dependency: transitive
description:
name: intl
sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf
url: "https://pub.dev"
source: hosted
version: "0.19.0"
io:
dependency: transitive
description:
Expand Down Expand Up @@ -278,14 +246,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "7.2.2"
marker:
dependency: transitive
description:
name: marker
sha256: "3dadd01f3b0ffae148ffb3b1bc04290a98e54a465cddbab59727bd2a9fe57750"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
matcher:
dependency: transitive
description:
Expand Down Expand Up @@ -390,14 +350,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.1.2"
rfc_6901:
dependency: transitive
description:
name: rfc_6901
sha256: df1bbfa3d023009598f19636d6114c6ac1e0b7bb7bf6a260f0e6e6ce91416820
url: "https://pub.dev"
source: hosted
version: "0.2.0"
safe_url_check:
dependency: transitive
description:
Expand Down Expand Up @@ -534,14 +486,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.4.0"
version_manipulation:
dependency: transitive
description:
name: version_manipulation
sha256: e90782d610bde19765d2808ec06bc8ed9e04640a4dd07d1a3d370728ce9dae7f
url: "https://pub.dev"
source: hosted
version: "0.2.0"
vm_service:
dependency: transitive
description:
Expand Down
1 change: 0 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ dependencies:

dev_dependencies:
analyzer: ^6.11.0
cider: ^0.2.8
coverage: ^1.11.1 # See: https://github.com/dart-lang/test/issues/1265
ffigen: ^16.0.0
pana: ^0.22.17
Expand Down

0 comments on commit a9203b8

Please sign in to comment.