Skip to content

Commit ff96418

Browse files
committed
chore: fix release process
1 parent e6dcae8 commit ff96418

2 files changed

Lines changed: 11 additions & 15 deletions

File tree

BUILD.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ respectively.
119119

120120
5. Add, commit and push:
121121

122-
git add docs/PythonLibCore-$VERSION.rst
123-
git commit -m "Release notes for $VERSION" docs/PythonLibCore-$VERSION.rst
122+
git add docs/PythonLibCore-$VERSION.md
123+
git commit -m "Release notes for $VERSION" docs/PythonLibCore-$VERSION.md
124124
git push
125125

126126
6. Update later if necessary. Writing release notes is typically the

tasks.py

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,26 @@
1212
REPOSITORY = "robotframework/PythonLibCore"
1313
VERSION_PATH = Path("src/robotlibcore/__init__.py")
1414
VERSION_PATTERN = '__version__ = "(.*)"'
15-
RELEASE_NOTES_PATH = Path("docs/PythonLibCore-{version}.rst")
15+
RELEASE_NOTES_PATH = Path("docs/PythonLibCore-{version}.md")
1616
RELEASE_NOTES_TITLE = "Python Library Core {version}"
1717
RELEASE_NOTES_INTRO = """
18-
`Python Library Core`_ is a generic component making it easier to create
19-
bigger `Robot Framework`_ test libraries. Python Library Core {version} is
20-
a new release with **UPDATE** enhancements and bug fixes. **MORE intro stuff**
18+
[Python Library Core](https://github.com/robotframework/PythonLibCore)
19+
is a generic component making it easier to create bigger
20+
[Robot Framework](http://robotframework.org) test libraries. Python Library Core
21+
{version} is a new release with **UPDATE** enhancements and bug fixes.
22+
**MORE intro stuff**
2123
2224
**REMOVE this section with final releases or otherwise if release notes contain
2325
all issues.**
2426
All issues targeted for Python Library Core {version.milestone} can be found
25-
from the `issue tracker`_.
27+
from the
28+
[issue tracker](https://github.com/robotframework/PythonLibCore/issues?q=milestone%3A{version.milestone}).
2629
27-
**REMOVE ``--pre`` from the next command with final releases.**
2830
If you have pip_ installed, just run
2931
3032
::
3133
32-
pip install --pre --upgrade pip install robotframework-pythonlibcore
34+
pip install --upgrade pip install robotframework-pythonlibcore
3335
3436
to install the latest available release or use
3537
@@ -41,12 +43,6 @@
4143
distribution from PyPI_ and install it manually.
4244
4345
Python Library Core {version} was released on {date}.
44-
45-
.. _PythonLibCore: https://github.com/robotframework/PythonLibCore
46-
.. _Robot Framework: http://robotframework.org
47-
.. _pip: http://pip-installer.org
48-
.. _PyPI: https://pypi.python.org/pypi/robotframework-robotlibcore
49-
.. _issue tracker: https://github.com/robotframework/PythonLibCore/issues?q=milestone%3A{version.milestone}
5046
"""
5147

5248

0 commit comments

Comments
 (0)