Skip to content

Commit

Permalink
fix(ci): fix extracting changelog to code on Windows CI env
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Dec 9, 2024
1 parent 9abb07c commit 2ef9d2f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ jobs:
with:
flutter-version: ${{env.CI_FLUTTER_VERSION}}
- name: Precompile
shell: pwsh
run: |
git submodule update --init --recursive --force
flutter pub get
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ jobs:
with:
flutter-version: ${{env.CI_FLUTTER_VERSION}}
- name: Precompile
shell: pwsh
run: |
git submodule update --init --recursive --force
flutter pub get
Expand Down
6 changes: 4 additions & 2 deletions lib/utils/git_info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const readCurrentChangelog = ['cat', './CHANGELOG.md'];
},
)
const readCurrentChangelogWindows = [
'dart',
'scripts/read_changelog.dart',
'Get-Content',
'-Encoding',
'utf8',
'./CHANGELOG.md',
];
9 changes: 0 additions & 9 deletions scripts/read_changelog.dart

This file was deleted.

0 comments on commit 2ef9d2f

Please sign in to comment.