File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
# This workflow takes the GitHub release notes an updates the changelog on the
2
- # master branch with the body of the release notes, thereby keeping a log in
2
+ # main branch with the body of the release notes, thereby keeping a log in
3
3
# the git repo of the changes.
4
4
5
5
name : " Update Changelog"
6
6
7
7
on :
8
- workflow_dispatch :
9
8
release :
10
9
types : [released]
11
10
17
16
- name : Checkout code
18
17
uses : actions/checkout@v2
19
18
with :
20
- ref : master
19
+ ref : main
21
20
22
21
- name : Update Changelog
23
22
uses : stefanzweifel/changelog-updater-action@v1
29
28
- name : Commit updated CHANGELOG
30
29
uses : stefanzweifel/git-auto-commit-action@v4
31
30
with :
32
- branch : master
31
+ branch : main
33
32
commit_message : Update CHANGELOG
34
33
file_pattern : CHANGES.md
Original file line number Diff line number Diff line change 2
2
3
3
To make a new release of pytest-mpl follow the following steps:
4
4
5
- * Ensure the sdist and wheel GitHub Actions jobs succeeded on master after the last merge.
5
+ * Ensure the sdist and wheel GitHub Actions jobs succeeded on main after the last merge.
6
6
* Also ensure that the tarball built has an autogenerated version number from setuptools_scm.
7
7
* Write the release notes in the GitHub releases UI, use the autogenerated
8
8
notes and tidy up a little.
9
9
* Publish the new release, using the format ` vX.Y.X ` .
10
- * Watch as GitHub actions builds the sdist and universal wheel and pushes them to PyPI for you, and updates CHANGES.md on the master branch.
10
+ * Watch as GitHub actions builds the sdist and universal wheel and pushes them to PyPI for you, and updates CHANGES.md on the main branch.
11
11
* Enjoy the beverage of your choosing 🍻.
You can’t perform that action at this time.
0 commit comments