From 4fe7b488ff12103ec0ba8711e469c67bce7ab4f0 Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Mon, 6 Jun 2022 14:10:42 -0500 Subject: [PATCH 1/4] Fix black formatting --- .github/workflows/development.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/development.yaml b/.github/workflows/development.yaml index 549f126..77314d1 100644 --- a/.github/workflows/development.yaml +++ b/.github/workflows/development.yaml @@ -47,7 +47,7 @@ jobs: - name: Compile image run: | export PKG_NAME=$(python3 -c "print([p for p in __import__('setuptools').find_packages() if '.' not in p][0])") - export PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\' '/__version__ = / {print $2}') + export PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\" '/__version__ = / {print $2}') export HOST_UID=$(id -u) docker-compose -f docker-compose-build.yaml up --exit-code-from element --build IMAGE=$(docker images --filter "reference=datajoint/${PKG_NAME}*" \ @@ -86,7 +86,7 @@ jobs: run: | PKG_NAME=$(python3 -c "print([p for p in __import__('setuptools').find_packages() if '.' not in p][0])") SDIST_PKG_NAME=$(echo ${PKG_NAME} | sed 's|_|-|g') - PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\' '/__version__ = / {print $2}') + PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\" '/__version__ = / {print $2}') echo "PKG_NAME=${PKG_NAME}" >> $GITHUB_ENV echo "PKG_VERSION=${PKG_VERSION}" >> $GITHUB_ENV echo "SDIST_PKG_NAME=${SDIST_PKG_NAME}" >> $GITHUB_ENV From 50f7777631caf6f467b26adacea7e15d64c86064 Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Mon, 6 Jun 2022 14:20:35 -0500 Subject: [PATCH 2/4] Simplify changelog --- CHANGELOG.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 503351b..376d2f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,11 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention. -## [0.1.2] - 2022-06-01 +## 0.1.2 - 2022-06-01 + Bugfix - Remove is_activated schema assertion for NWB export -## [0.1.1] - 2022-05-10 +## 0.1.1 - 2022-05-10 + Add - SessionExperimenter table + Add - SessionNote table @@ -14,16 +14,11 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and + Update - Rename `session` module to `session_with_datetime` + Update - Adopt black formatting into code base -## [0.1.0b0] - 2021-05-07 +## 0.1.0b0 - 2021-05-07 + Update - First beta release -## [0.1.0a1] - 2021-05-03 +## 0.1.0a1 - 2021-05-03 + Add - GitHub Action release process + Add - `session` schema - -[0.1.2]: https://github.com/datajoint/element-session/compare/0.1.1...0.1.2 -[0.1.1]: https://github.com/datajoint/element-session/compare/0.1.0b0...0.1.1 -[0.1.0b0]: https://github.com/datajoint/element-session/compare/0.1.0a1...0.1.0b0 -[0.1.0a1]: https://github.com/datajoint/element-session/releases/tag/0.1.0a1 From 6d876791a876533e2411fa52490e4b0ccfaa2407 Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Mon, 6 Jun 2022 14:22:42 -0500 Subject: [PATCH 3/4] Revert "Simplify changelog" This reverts commit 50f7777631caf6f467b26adacea7e15d64c86064. --- CHANGELOG.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 376d2f4..503351b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,11 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention. -## 0.1.2 - 2022-06-01 +## [0.1.2] - 2022-06-01 + Bugfix - Remove is_activated schema assertion for NWB export -## 0.1.1 - 2022-05-10 +## [0.1.1] - 2022-05-10 + Add - SessionExperimenter table + Add - SessionNote table @@ -14,11 +14,16 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and + Update - Rename `session` module to `session_with_datetime` + Update - Adopt black formatting into code base -## 0.1.0b0 - 2021-05-07 +## [0.1.0b0] - 2021-05-07 + Update - First beta release -## 0.1.0a1 - 2021-05-03 +## [0.1.0a1] - 2021-05-03 + Add - GitHub Action release process + Add - `session` schema + +[0.1.2]: https://github.com/datajoint/element-session/compare/0.1.1...0.1.2 +[0.1.1]: https://github.com/datajoint/element-session/compare/0.1.0b0...0.1.1 +[0.1.0b0]: https://github.com/datajoint/element-session/compare/0.1.0a1...0.1.0b0 +[0.1.0a1]: https://github.com/datajoint/element-session/releases/tag/0.1.0a1 From 8a358adc5d6e762973199c0cfd0bc5d343aa952f Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Mon, 6 Jun 2022 14:28:17 -0500 Subject: [PATCH 4/4] Update links in changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 503351b..fd62bb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and + Add - GitHub Action release process + Add - `session` schema -[0.1.2]: https://github.com/datajoint/element-session/compare/0.1.1...0.1.2 +[0.1.2]: https://github.com/datajoint/element-session/releases/tag/0.1.2 [0.1.1]: https://github.com/datajoint/element-session/compare/0.1.0b0...0.1.1 -[0.1.0b0]: https://github.com/datajoint/element-session/compare/0.1.0a1...0.1.0b0 +[0.1.0b0]: https://github.com/datajoint/element-session/releases/tag/0.1.0b0 [0.1.0a1]: https://github.com/datajoint/element-session/releases/tag/0.1.0a1