diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml new file mode 100644 index 0000000..9b9ba47 --- /dev/null +++ b/.github/workflows/packaging.yml @@ -0,0 +1,63 @@ +name: Packaging + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + conda: + name: "Install from conda-forge" + runs-on: ubuntu-latest + defaults: + run: + # See https://github.com/mamba-org/setup-micromamba?tab=readme-ov-file#about-login-shells + shell: bash -leo pipefail {0} + steps: + - name: "Install Conda environment with Micromamba" + uses: mamba-org/setup-micromamba@v1 + with: + cache-downloads: true + environment-name: pypi + create-args: >- + python=3.11 + robot_descriptions + + - name: "Test module import" + run: python -c "import robot_descriptions" + + pypi: + name: "Install from PyPI" + runs-on: ubuntu-latest + steps: + - name: "Install dependencies" + run: | + python -m pip install --upgrade pip + + - name: "Install package" + run: python -m pip install robot_descriptions + + - name: "Test module import" + run: python -c "import robot_descriptions" + + testpypi: + name: "Install from TestPyPI" + runs-on: ubuntu-latest + steps: + - name: "Install dependencies" + run: | + python -m pip install --upgrade pip + + - name: "Install package" + run: python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ robot_descriptions + + - name: "Test module import" + run: python -c "import robot_descriptions" + + packaging_success: + name: "Packaging success" + runs-on: ubuntu-latest + needs: [conda, pypi, testpypi] + steps: + - run: echo "Packaging workflow completed successfully" diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d80fb2..29a904b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [1.12.0] - 2024-08-08 + ### Added - Description: LEAP Hand v1 @@ -374,7 +376,8 @@ This initial release includes 33 robot descriptions: - Contributing instructions - This changelog -[unreleased]: https://github.com/robot-descriptions/robot_descriptions.py/compare/v1.11.0...HEAD +[unreleased]: https://github.com/robot-descriptions/robot_descriptions.py/compare/v1.12.0...HEAD +[1.12.0]: https://github.com/robot-descriptions/robot_descriptions.py/compare/v1.11.0...v1.12.0 [1.11.0]: https://github.com/robot-descriptions/robot_descriptions.py/compare/v1.10.0...v1.11.0 [1.10.0]: https://github.com/robot-descriptions/robot_descriptions.py/compare/v1.9.0...v1.10.0 [1.9.0]: https://github.com/robot-descriptions/robot_descriptions.py/compare/v1.8.1...v1.9.0 diff --git a/CITATION.cff b/CITATION.cff index fdbdf95..2e32f34 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,8 +1,8 @@ cff-version: 1.2.0 message: "If you find this code helpful, please cite it as below." title: "robot_descriptions.py: Robot descriptions in Python" -version: 1.11.0 -date-released: 2024-06-27 +version: 1.12.0 +date-released: 2024-08-08 url: "https://github.com/robot-descriptions/robot_descriptions.py" license: "Apache-2.0" authors: diff --git a/README.md b/README.md index 8d07fc4..5d60550 100644 --- a/README.md +++ b/README.md @@ -283,11 +283,11 @@ If you use this project in your works, please cite as follows: ```bibtex @software{robot_descriptions_py, + title = {{robot_descriptions.py: Robot descriptions in Python}}, author = {Caron, Stéphane and Romualdi, Giulio and Kozlov, Lev and Ordoñez Apraez, Daniel Felipe and Tadashi Kussaba, Hugo and Bang, Seung Hyeon and Zakka, Kevin and Schramm, Fabian}, license = {Apache-2.0}, - title = {{robot_descriptions.py: Robot descriptions in Python}}, url = {https://github.com/robot-descriptions/robot_descriptions.py}, - version = {1.11.0}, + version = {1.12.0}, year = {2024} } ``` diff --git a/robot_descriptions/__init__.py b/robot_descriptions/__init__.py index cbad205..5ac8d94 100644 --- a/robot_descriptions/__init__.py +++ b/robot_descriptions/__init__.py @@ -6,4 +6,4 @@ """Import open source robot description as Python modules.""" -__version__ = "1.11.0" +__version__ = "1.12.0"