Skip to content

Commit bac1daf

Browse files
committed
relocated latest_changelog.md to rnalysis/data_files/
1 parent 30a1005 commit bac1daf

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

.github/workflows/pyinstaller.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- uses: stefanzweifel/git-auto-commit-action@v5
3434
with:
3535
commit_message: Calculate quick-start video checksums and generate changelog
36-
file_pattern: 'rnalysis/gui/videos/checksums/*.txt latest_changelog.md'
36+
file_pattern: 'rnalysis/gui/videos/checksums/*.txt rnalysis/data_files/latest_changelog.md'
3737
branch: master
3838
- name: Create Release
3939
id: create_release
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
tag_name: ${{ github.ref }}
4545
release_name: Stable release ${{ github.ref_name }}
46-
body_path: latest_changelog.md
46+
body_path: rnalysis/data_files/latest_changelog.md
4747
draft: false
4848
prerelease: false
4949
- name: Output Release URL File

RNAlysis.spec

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ for item in tmp_collection:
1717
datas.append(item)
1818

1919
datas += collect_data_files('pyvis')
20-
datas += 'latest_changelog.md'
2120

2221
hiddenimports += collect_submodules('sklearn')
2322
hiddenimports += collect_submodules('cutadapt')

packaging/generate_changelog.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ def get_change_log_for(version: Union[str, Literal['latest']] = 'latest'):
3333

3434
if __name__ == '__main__':
3535
txt = get_change_log_for('latest')
36-
with open(Path(__file__).parent.parent.joinpath('latest_changelog.md'), 'w') as f:
36+
with open(Path(__file__).parent.parent.joinpath('rnalysis/data_files/latest_changelog.md'), 'w') as f:
3737
f.write(txt)
File renamed without changes.

rnalysis/gui/gui_windows.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def copy_to_clipboard(self):
450450
class WhatsNewWindow(QtWidgets.QMessageBox):
451451
def __init__(self, parent=None):
452452
super().__init__(parent)
453-
txt_path = str(Path(__file__).parent.parent.parent.joinpath('latest_changelog.md'))
453+
txt_path = str(Path(__file__).parent.parent.joinpath('data_files/latest_changelog.md'))
454454
with open(txt_path) as f:
455455
text = f.read()
456456

0 commit comments

Comments
 (0)