Skip to content

Commit

Permalink
chore: chore
Browse files Browse the repository at this point in the history
  • Loading branch information
mym0404 committed Mar 30, 2024
1 parent 6296a28 commit b018d9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tool/publish.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void main() async {

print('🎉 The version $version is valid to publish!');

output = await Process.run('bash', ['dart', 'pub', 'publish']);
output = await Process.run('bash', ['dart', 'pub', 'publish', '-f']);
if (output.exitCode == 0) {
print(output.stdout);
print('🎉 The version $version is published!');
Expand All @@ -32,6 +32,7 @@ void main() async {
await Process.run('git', ['push', 'origin', 'v$version']);
} else {
print(output.stderr);
print(output.stdout);
print('❌ The version $version is failed to publish');
}
}

0 comments on commit b018d9a

Please sign in to comment.