Releasing a new version - FPGAwars/apio GitHub Wiki
Information for developers
For releasing a new stable apio version, follow these steps:
- Merge the Apio develop branch into Master
- Change the version in the file
apio/__init__.py
VERSION = (0, 9, 4)
- Change the
resources/packages.json
file. Make sure it has theVERSION
file in theurl_version
attribute:
"url_version": "https://github.com/FPGAwars/tools-oss-cad-suite/raw/main/VERSION"
- Create a new Release from Github. It should start with the letter
v
followed by the version number. Add the changes from the previous release
Example:
v0.9.4
-
Publish the release from github
-
Execute manually the Github-action: Publish Pypi. Go to the Actions menu, select Publish Pypi and Run the workflow on the master branch
-
The new version will be available in the pypi repo: Apio in pypi repo
-
Install the new package in your system (globaly):
$ sudo pip3 install apio==0.9.4
- Check the new version:
$ apio --version
apio, version 0.9.4