Skip to content

Commit

Permalink
Merge pull request #22 from kabilar/main
Browse files Browse the repository at this point in the history
Fix PyPI release and update changelog
  • Loading branch information
CBroz1 authored Jun 8, 2022
2 parents 6e3d895 + 8a358ad commit a084522
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}*" \
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a084522

Please sign in to comment.