Skip to content

Commit

Permalink
relocated latest_changelog.md to rnalysis/data_files/
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyTeichman committed Jun 29, 2024
1 parent 30a1005 commit bac1daf
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Calculate quick-start video checksums and generate changelog
file_pattern: 'rnalysis/gui/videos/checksums/*.txt latest_changelog.md'
file_pattern: 'rnalysis/gui/videos/checksums/*.txt rnalysis/data_files/latest_changelog.md'
branch: master
- name: Create Release
id: create_release
Expand All @@ -43,7 +43,7 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Stable release ${{ github.ref_name }}
body_path: latest_changelog.md
body_path: rnalysis/data_files/latest_changelog.md
draft: false
prerelease: false
- name: Output Release URL File
Expand Down
1 change: 0 additions & 1 deletion RNAlysis.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ for item in tmp_collection:
datas.append(item)

datas += collect_data_files('pyvis')
datas += 'latest_changelog.md'

hiddenimports += collect_submodules('sklearn')
hiddenimports += collect_submodules('cutadapt')
Expand Down
2 changes: 1 addition & 1 deletion packaging/generate_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ def get_change_log_for(version: Union[str, Literal['latest']] = 'latest'):

if __name__ == '__main__':
txt = get_change_log_for('latest')
with open(Path(__file__).parent.parent.joinpath('latest_changelog.md'), 'w') as f:
with open(Path(__file__).parent.parent.joinpath('rnalysis/data_files/latest_changelog.md'), 'w') as f:
f.write(txt)
File renamed without changes.
2 changes: 1 addition & 1 deletion rnalysis/gui/gui_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def copy_to_clipboard(self):
class WhatsNewWindow(QtWidgets.QMessageBox):
def __init__(self, parent=None):
super().__init__(parent)
txt_path = str(Path(__file__).parent.parent.parent.joinpath('latest_changelog.md'))
txt_path = str(Path(__file__).parent.parent.joinpath('data_files/latest_changelog.md'))
with open(txt_path) as f:
text = f.read()

Expand Down

0 comments on commit bac1daf

Please sign in to comment.