Skip to content

New release

Frederik Beaujean edited this page Apr 25, 2018 · 21 revisions

Source code

current year

update year in README.md and source file copyright notices

Once all changes in master pass all tests on travis and on GPU.

Set the package version at the top of CMakeLists.txt

set(PACKAGE_VERSION 1.02)

and commit to master.

testing and docs

Wait until travis tests pass and the new docs are deployed.This is signaled by a slack message if the docs changed. Look at test output at https://travis-ci.org/mtazzari/galario/ Are there warnings to take care of?

Check that the docs at https://mtazzari.github.io/galario/ look ok.

Github

Create a tag by creating a new release on the Releases tab with the exact same version as in cmake. Use v1.0.2 as tag name (v1.0.2@Target:master) and 1.0.2 as the the title.

Download the tar ball and compute the sha256 hash

sha256 is the prefered checksum -- you can get it for a file with either of

openssl sha256 <file name>
sha256sum <file name>

You may need the openssl package, available on conda-forge

conda install openssl -c conda-forge

Conda

Our feedstock is at https://github.com/conda-forge/galario-feedstock. Edit online on github the variables at the top of galario-feedstock/recipe/meta.yaml

{% set version = "1.0.2" %}
{% set sha256 = "<sha256sum>" %} 

Commit the changes and push to origin. This triggers the build on circleci and travis. Check the progress at

https://travis-ci.org/conda-forge/galario-feedstock/builds (check build history if latest job not started or finished yet)

https://circleci.com/gh/conda-forge/galario-feedstock

Once finished, check what versions are available with

conda info galario