Skip to content

Commit

Permalink
Merge pull request #918 from globus/rm-symlinks
Browse files Browse the repository at this point in the history
Migrate from a CHANGELOG symlink to the RST `.. include` directive
  • Loading branch information
kurtmckee authored Dec 5, 2023
2 parents 90c5afd + ae8d837 commit 6a2847d
Show file tree
Hide file tree
Showing 6 changed files with 2,102 additions and 2,098 deletions.
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $EDITOR changelog.rst
```

- Add changed files;
`git add changelog.d/ docs/changelog.rst src/globus_sdk/version.py`
`git add changelog.d/ changelog.rst src/globus_sdk/version.py`

- Commit; `git commit -m 'Bump version and changelog for release'`

Expand Down
4 changes: 4 additions & 0 deletions changelog.d/20231205_155419_kurtmckee_rm_symlinks.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Development
~~~~~~~~~~~

- Migrate from a CHANGELOG symlink to the RST ``.. include`` directive. (:pr:`NUMBER`)
2 changes: 1 addition & 1 deletion changelog.d/check-version-is-new.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_header_re(version):

def changelog_has_version(version):
pattern = get_header_re(version)
with open(os.path.join(REPO_ROOT, "docs", "changelog.rst")) as f:
with open(os.path.join(REPO_ROOT, "changelog.rst")) as f:
return bool(re.search(pattern, f.read(), flags=re.MULTILINE))


Expand Down
1 change: 0 additions & 1 deletion changelog.rst

This file was deleted.

Loading

0 comments on commit 6a2847d

Please sign in to comment.