-
Notifications
You must be signed in to change notification settings - Fork 65
fms‐acceleration PiPY Wheel Release Instructions
Since fms-acceleration is a mono-repo, the build processes are tailored for it.
-
Check each package that has changes. Can use the “Generate release notes” feature in Github releases, or a tool like Sourcetree. For each package, decide if it is a minor or patch change based on the changes. If
frameworkhasn't changed, the new version should bevX.Y.Z.n+1. For example, if the previous version wasv0.6.1, but theframeworkhasn't been updated, the new version will bev0.6.1.1. Ifv0.6.1.1was the last version, the next will bev0.6.1.2. If theframeworkhas changed, do a patch release as normal. -
Create a single “bump versions” commit in a new branch on the main fork called
<new framework version>_bump_version(see example), and update the versions of the packages that have changed. remove the.devtag and bump versions. -
Draft Release: indicate what has changed for each package, and indicate if its a minor or patch release. Create a new tag indicating the new version of the
framework, using your newly created branch in step 2 as the target. See example below:
-
Publish release: Upon publishing the Github release, this will trigger the pypi push of the plugins. Any plugin where the
pyproject.tomlhas changed due to the new version bump will be published. https://pypi.org/project/fms-acceleration/#history
-
In your working release branch, after the new versions have been updated on pypi, add the
.devtags back in then usegit commit --amendto amend your previous commit with the.devtags. Then checkout themainbranch and dogit cherry-pick <hash of amended commit>to pull the commit tomain, then push. This should create a single “bump versions” commit inmainby amending the tag commit, adding back.devtag