File tree Expand file tree Collapse file tree 4 files changed +8
-14
lines changed Expand file tree Collapse file tree 4 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 4
4
current_tag=$( echo $GITHUB_REF | cut -d ' /' -f 3 | sed -r ' s/^v//' )
5
5
6
6
file1=' pubspec.yaml'
7
- file2=' example/pubspec.yaml'
8
- file3=' example/pubspec.lock'
9
- file4=' README.md'
10
- file5=' lib/src/version.dart'
7
+ file2=' README.md'
8
+ file3=' lib/src/version.dart'
11
9
changelog_file=' CHANGELOG.md'
12
10
ret=0
13
11
14
12
file_tag1=$( grep ' ^version: ' $file1 | cut -d ' :' -f 2 | tr -d ' ' )
15
- file_tag2=$( grep ' meilisearch: "' $file2 | cut -d ' :' -f 2 | tr -d ' "' | tr -d ' ' )
16
- file_tag3=$( grep ' meilisearch' -A 6 $file3 | grep ' version: ' | cut -d ' :' -f2 | tr -d ' "' | tr -d ' ' )
17
- file_tag4=$( grep ' meilisearch: ' $file4 | cut -d ' ^' -f2)
18
- file_tag5=$( grep -o " [0-9\.]" $file5 | tr -d ' [:space:]' )
19
- if [ " $current_tag " != " $file_tag1 " ] || [ " $current_tag " != " $file_tag2 " ] || [ " $current_tag " != " $file_tag3 " ] || [ " $current_tag " != " $file_tag4 " ] || [ " $current_tag " != " $file_tag5 " ]; then
13
+ file_tag2=$( grep ' meilisearch: ' $file2 | cut -d ' ^' -f2)
14
+ file_tag3=$( grep -o " [0-9\.]" $file3 | tr -d ' [:space:]' )
15
+ if [ " $current_tag " != " $file_tag1 " ] || [ " $current_tag " != " $file_tag2 " ] || [ " $current_tag " != " $file_tag3 " ]; then
20
16
echo " Error: the current tag does not match the version in package file(s)."
21
17
echo " $file1 : found $file_tag1 - expected $current_tag "
22
18
echo " $file2 : found $file_tag2 - expected $current_tag "
23
19
echo " $file3 : found $file_tag3 - expected $current_tag "
24
- echo " $file4 : found $file_tag4 - expected $current_tag "
25
- echo " $file5 : found $file_tag5 - expected $current_tag "
26
20
ret=1
27
21
fi
28
22
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ You can install the **meilisearch** package by adding a few lines into `pubspec.
48
48
49
49
``` yaml
50
50
dependencies :
51
- meilisearch : ^0.12 .0
51
+ meilisearch : ^0.13 .0
52
52
` ` `
53
53
54
54
Then open your terminal and update dart packages.
Original file line number Diff line number Diff line change 1
1
class Version {
2
- static const String current = '0.12 .0' ;
2
+ static const String current = '0.13 .0' ;
3
3
4
4
static String get qualifiedVersion {
5
5
return "Meilisearch Dart (v$current )" ;
Original file line number Diff line number Diff line change 1
1
name : meilisearch
2
2
description : Meilisearch Dart is the Meilisearch API client for Dart and Flutter developers.
3
- version : 0.12 .0
3
+ version : 0.13 .0
4
4
homepage : https://meilisearch.com
5
5
repository : https://github.com/meilisearch/meilisearch-dart
6
6
issue_tracker : https://github.com/meilisearch/meilisearch-dart/issues
You can’t perform that action at this time.
0 commit comments