From 9e7cc114d9d31ac5b551df0c162a0d7445b7fd7f Mon Sep 17 00:00:00 2001 From: Nick Papior Date: Fri, 28 Jan 2022 14:14:48 +0100 Subject: [PATCH] mnt: bumped release numbers --- CHANGELOG.md | 5 ++++- CITATION.cff | 4 ++-- DEPLOY.md | 38 +++++--------------------------------- 3 files changed, 11 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bab327679..8dff7bd01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) once we hit release version 1.0.0. -## [Unreleased] - YYYY-MM-DD +## [UNRELEASED] - YYYY-MM-DD + + +## [0.12.0] - 2022-1-28 ### Added - Geometry.sub_orbital is added - BrillouinZone.volume enables easy calculation of volumes for BZ integrals diff --git a/CITATION.cff b/CITATION.cff index 1a2fb4141..21b8cbb28 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -6,7 +6,7 @@ authors: given-names: "Nick" orcid: "https://orcid.org/0000-0003-3038-1855" title: "sisl" -version: "0.11.0" +version: "0.12.0" doi: 10.5281/zenodo.597181 url: https://github.com/zerothi/sisl repository-code: https://github.com/zerothi/sisl @@ -19,4 +19,4 @@ keywords: - DFT - LCAO - NEGF - \ No newline at end of file + diff --git a/DEPLOY.md b/DEPLOY.md index 65fab5513..0114f3987 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -16,50 +16,22 @@ below sequence. The release cycle should be performed like this: -1. Increment the release numbers in the top-directory - setup.py script - These are +1. Update released versions in `CHANGELOG.md` and `CITATION.cff` - MAJOR - MINOR - MICRO +2. Commit changes. - Alltogether the version number _is_: - `VERSION=MAJOR.MINOR.MICRO` - In the following `VERSION` should be replaced by the correct release - numbers - -2. Set the variable: - - ISRELEASED = True - -3. Set the variable `GIT_REVISION` to the latest commit. - This means that the revision specification for the release - actually corresponds to the commit just before the actual release. - You can get the commit hash by: - - git rev-parse HEAD - - GIT_REVISION = - -4. Add `setup.py` to the commit and commit using: - - git commit -s -m "sisl release: VERSION" - - with the corresponding version number. - -5. Tag the commit with: +3. Tag the commit with: git tag -a "vVERSION" -m "Releasing vVERSION" -6. Create tarballs and wheels and upload them +4. Create tarballs and wheels and upload them rm -rf dist python setup.py sdist bdist_wheel twine upload dist/sisl-VERSION*.tar.gz twine upload dist/sisl-VERSION*.whl -7. Create conda uploads. +5. Create conda uploads. The conda uploads are based on conda-forge and an associated sisl-feedstock is used. To update it, follow these steps: