Typically releases are done for each new version of OpenFAST
- Create a pull request from main to dev
- Make sure the input files in the
data
directory are compatible with the new OpenFAST version - Change the file VERSION (and/or setup.py) and push to the pull request
- Merge pull request to main
- Tag the commit using
git tag -a vX.X.X
and push to remote: `git push --tags``. - Upload to pypi and conda (see below)
- Merge main to dev
Detailled steps are provided further below.
Remember to change VERSION file and/or setup.py
python setup.py sdist
twine upload dist/* # upload to pypi
Go to folder
cd path/to/openfast_toolbox
change VERSION in setup.py
git add setup.py VERSION
git commit "Version X.X.X"
git tag -a
python setup.py sdist
pip install twine
Run twine to upload to Pypi (will ask for username and password)
twine upload dist/*
TODO TODO TODO
conda-forge, make a pull request there.
- setup build script (https://conda-forge.org/docs/maintainer/adding_pkgs.html). see e.g. FLORIS (https://github.com/conda-forge/floris-feedstock/blob/master/recipe/meta.yaml).
- make a pull request to https://github.com/conda-forge/staged-recipes/