Skip to content

Prep for jupyter releaser#1877

Merged
blink1073 merged 8 commits intojupyter:mainfrom
blink1073:use-releaser
Oct 6, 2022
Merged

Prep for jupyter releaser#1877
blink1073 merged 8 commits intojupyter:mainfrom
blink1073:use-releaser

Conversation

@blink1073
Copy link
Copy Markdown
Contributor

@blink1073 blink1073 commented Oct 4, 2022

For now we will use the release from releaser-fork approach, until the bugs are worked out of the release-from-repo approach.

Used the following command and script for the changelog:

pandoc -f rst -t markdown -o CHANGELOG.md changelog.rst

import re
with open('CHANGELOG.md') as fid:
    data = fid.read()


patt = r'`(\d+)`({.interpreted-text\s+role="ghpull"}:?)'
matches = re.findall(patt, data)


for num, second in matches:
    data = data.replace(f"`{num}`{second}", f"[#{num}](https://github.com/jupyter/nbconvert/pull/{num})" )


with open("CHANGELOG.md", "w") as fid:
    fid.write(data)

@blink1073 blink1073 changed the title Use jupyter releaser Prep for jupyter releaser Oct 6, 2022
@blink1073 blink1073 merged commit e4e85b6 into jupyter:main Oct 6, 2022
@blink1073 blink1073 deleted the use-releaser branch October 6, 2022 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant