Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 1.61 KB

File metadata and controls

77 lines (57 loc) · 1.61 KB

Developer Notes

Release Steps

Typically releases are done for each new version of OpenFAST

  1. Create a pull request from main to dev
  2. Make sure the input file in the data directory are compatible with the new OpenFAST version
  3. Change the file VERSION (and/or setup.py)
  4. Merge pull request to main
  5. Tag the commit using git tag -a vX.X.X
  6. Upload to pypi and conda (see below)

Upload a new version for pip

Detailled steps are provided further below.

Summary

Remember to change VERSION file and/or setup.py

python setup.py sdist
twine upload dist/*     # upload to pypi

(Step 0 : create an account on pypi)

Step 1: go to your repo

Go to folder

cd path/to/weio

Step 2: change version in setup.py and tag it

change VERSION in setup.py

git add setup.py VERSION
git commit "Version X.X.X"
git tag -a 

Step 3: Create a source distribution

python setup.py sdist

Step 4: Install twine

pip install twine

Step 5: Ubplot to pypi

Run twine to upload to Pypi (will ask for username and password)

twine upload dist/*

After clone / first time

Add .gitconfig to your path, to apply filters on jupyter notebooks

git config --local include.path ../.gitconfig

Upload a new version to Conda

TODO TODO TODO

conda-forge, make a pull request there.