From 510d58b86232151208a98501dd2743811de5557e Mon Sep 17 00:00:00 2001 From: rturrado <68099809+rturrado@users.noreply.github.com> Date: Tue, 9 Jan 2024 12:25:07 +0100 Subject: [PATCH 1/3] Trying to fix upload-release-asset step in assets.yml for windows-x64 job. --- .github/workflows/assets.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index 6246edc24..663b503e3 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -34,8 +34,8 @@ jobs: - name: Install dependencies run: | brew install bison flex swig xquartz - echo "/usr/local/opt/bison/bin" >> "$GITHUB_PATH" - echo "/usr/local/opt/flex/bin" >> "$GITHUB_PATH" + echo "/usr/local/opt/bison/bin" >> $GITHUB_PATH + echo "/usr/local/opt/flex/bin" >> $GITHUB_PATH python -m pip install --upgrade pip conan setuptools wheel - name: Build wheel run: python setup.py bdist_wheel @@ -43,8 +43,8 @@ jobs: id: wheel working-directory: pybuild/dist/ run: | - echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_OUTPUT" - echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_ENV" + echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_OUTPUT + echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_ENV - uses: actions/upload-artifact@v3 with: name: pypi-macos-py${{ matrix.python }} @@ -97,8 +97,8 @@ jobs: id: wheel working-directory: wheelhouse run: | - echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_OUTPUT" - echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_ENV" + echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_OUTPUT + echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_ENV - uses: actions/upload-artifact@v3 with: name: pypi-linux-${{ matrix.cpython_version }} @@ -162,8 +162,8 @@ jobs: id: wheel working-directory: wheelhouse run: | - echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_OUTPUT" - echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_ENV" + echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_OUTPUT + echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_ENV - uses: actions/upload-artifact@v3 with: name: pypi-linux-${{ matrix.cpython_version }} @@ -204,8 +204,10 @@ jobs: id: wheel working-directory: pybuild/dist/ run: | - echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" >> "$GITHUB_OUTPUT" - echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" >> "$GITHUB_ENV" + echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" >> $env:GITHUB_OUTPUT + echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" >> $env:GITHUB_ENV + echo ${{ env.GITHUB_ENV }} + shell: powershell - uses: actions/upload-artifact@v3 with: name: pypi-windows-py${{ matrix.python }} From a93537703beb863ba2161a140e0316ae2cec0115 Mon Sep 17 00:00:00 2001 From: rturrado <68099809+rturrado@users.noreply.github.com> Date: Tue, 9 Jan 2024 12:54:29 +0100 Subject: [PATCH 2/3] Trying to fix upload-release-asset step in assets.yml for windows-x64 job. --- .github/workflows/assets.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index 663b503e3..7dbb00ebe 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -206,7 +206,6 @@ jobs: run: | echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" >> $env:GITHUB_OUTPUT echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" >> $env:GITHUB_ENV - echo ${{ env.GITHUB_ENV }} shell: powershell - uses: actions/upload-artifact@v3 with: From 68d1516abd4345e934603b6e0ce13dd5aa7c0b3d Mon Sep 17 00:00:00 2001 From: rturrado <68099809+rturrado@users.noreply.github.com> Date: Tue, 9 Jan 2024 13:29:33 +0100 Subject: [PATCH 3/3] Update version. Update CHANGELOG.md. --- CHANGELOG.md | 13 +++++++++++++ include/ql/version.h | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a86f86ba8..57b0592b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [ 0.12.2 ] - [ 2024-01-09 ] + +### Added + +### Changed + +- Fixed `upload-release-asset` steps in `.github/workflow/assets.yml` for `windows-x64` job. + +### Removed + + ## [ 0.12.1 ] - [ 2024-01-08 ] ### Added @@ -12,6 +23,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Fixed `upload-release-asset` steps in `.github/workflow/assets.yml`. - Updated `RELEASE.md`. +### Removed + ## [ 0.12.0 ] - [ 2023-12-18 ] ### Added diff --git a/include/ql/version.h b/include/ql/version.h index 4e560ef56..310e05539 100644 --- a/include/ql/version.h +++ b/include/ql/version.h @@ -8,4 +8,4 @@ * OPENQL_VERSION_STRING is also decoded by version.py */ -#define OPENQL_VERSION_STRING "0.12.1" +#define OPENQL_VERSION_STRING "0.12.2"