Skip to content

Commit

Permalink
fix: match github action
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Nov 27, 2023
1 parent 7838884 commit d9f1233
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/create_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ jobs:
uses: impaktfull/gh_action_dart_conventional_release@main
with:
tag-prefix: 'v'
script-pre-run: tool/script_pre_run.dart
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 10 additions & 0 deletions tool/script_pre_run.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import 'dart:io';

import 'package:path/path.dart';

void main(List<String> args) {
final fileName = 'example_config';
final basePath = join('example', 'bin');
final file = File(join(fileName, basePath));
file.copySync(join(basePath, '$fileName.dart'));
}

0 comments on commit d9f1233

Please sign in to comment.