Skip to content

Commit a084522

Browse files
authored
Merge pull request #22 from kabilar/main
Fix PyPI release and update changelog
2 parents 6e3d895 + 8a358ad commit a084522

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/development.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Compile image
4848
run: |
4949
export PKG_NAME=$(python3 -c "print([p for p in __import__('setuptools').find_packages() if '.' not in p][0])")
50-
export PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\' '/__version__ = / {print $2}')
50+
export PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\" '/__version__ = / {print $2}')
5151
export HOST_UID=$(id -u)
5252
docker-compose -f docker-compose-build.yaml up --exit-code-from element --build
5353
IMAGE=$(docker images --filter "reference=datajoint/${PKG_NAME}*" \
@@ -86,7 +86,7 @@ jobs:
8686
run: |
8787
PKG_NAME=$(python3 -c "print([p for p in __import__('setuptools').find_packages() if '.' not in p][0])")
8888
SDIST_PKG_NAME=$(echo ${PKG_NAME} | sed 's|_|-|g')
89-
PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\' '/__version__ = / {print $2}')
89+
PKG_VERSION=$(cat ${PKG_NAME}/version.py | awk -F\" '/__version__ = / {print $2}')
9090
echo "PKG_NAME=${PKG_NAME}" >> $GITHUB_ENV
9191
echo "PKG_VERSION=${PKG_VERSION}" >> $GITHUB_ENV
9292
echo "SDIST_PKG_NAME=${SDIST_PKG_NAME}" >> $GITHUB_ENV

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
2323
+ Add - GitHub Action release process
2424
+ Add - `session` schema
2525

26-
[0.1.2]: https://github.com/datajoint/element-session/compare/0.1.1...0.1.2
26+
[0.1.2]: https://github.com/datajoint/element-session/releases/tag/0.1.2
2727
[0.1.1]: https://github.com/datajoint/element-session/compare/0.1.0b0...0.1.1
28-
[0.1.0b0]: https://github.com/datajoint/element-session/compare/0.1.0a1...0.1.0b0
28+
[0.1.0b0]: https://github.com/datajoint/element-session/releases/tag/0.1.0b0
2929
[0.1.0a1]: https://github.com/datajoint/element-session/releases/tag/0.1.0a1

0 commit comments

Comments
 (0)