Skip to content

Commit b3ee3c2

Browse files
Updated board release workflow for test purposes #18
1 parent 3c64136 commit b3ee3c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/update_board_changelog.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ def find_file(root_folder, filename):
2525
board_changelog_file.write(board_changelog)
2626
board_changelog_file.close()
2727

28-
write_output_to_file(os.path.join(os.getcwd(), 'sdk_tag.txt'), file_dir.split(os.path.sep)[-1][1:])
29-
30-
write_output_to_file(os.path.join(os.getcwd(), 'sdk_tag.txt'), '0')
28+
write_output_to_file(os.path.join(os.getcwd(), 'sdk_tag.txt'), file_dir.split(os.path.sep)[-2][1:])
29+
else:
30+
write_output_to_file(os.path.join(os.getcwd(), 'sdk_tag.txt'), '0')

0 commit comments

Comments
 (0)