From 00ed0f77a909281d65b4cc1bf5868f1527f76618 Mon Sep 17 00:00:00 2001 From: Mainak Kundu Date: Sun, 8 Jan 2023 22:22:37 -0500 Subject: [PATCH 1/3] Bump version 0.6.0 --- pyproject.toml | 2 +- tests/test_metadata.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1dba9465..7888b403 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] # Check https://python-poetry.org/docs/pyproject/ for all available sections name = "ansys-fluent-visualization" -version = "0.6.dev4" +version = "0.6.0" description = "A python wrapper for ansys Fluent visualization" license = "MIT" authors = ["ANSYS, Inc. "] diff --git a/tests/test_metadata.py b/tests/test_metadata.py index 3ef75914..6ec0aaeb 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -2,4 +2,4 @@ def test_pkg_version(): - assert __version__ == "0.6.dev4" + assert __version__ == "0.6.0" From b59e2f28f71f9534dbdbe87efdb968bc2b00f253 Mon Sep 17 00:00:00 2001 From: Mainak Kundu Date: Mon, 9 Jan 2023 19:28:36 -0500 Subject: [PATCH 2/3] Correct Fluent version for doc upload --- .github/workflows/ci_cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 3c8172bb..8b8b9a72 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -77,7 +77,7 @@ jobs: runs-on: [self-hosted, pyfluent] strategy: matrix: - image-tag: [latest] + image-tag: [v23.1.0] steps: - uses: actions/checkout@v3 @@ -150,7 +150,7 @@ jobs: retention-days: 7 - name: Deploy - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'dev') && matrix.image-tag == 'latest' + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'dev') uses: JamesIves/github-pages-deploy-action@v4.4.1 with: repository-name: pyansys/pyfluent-visualization-docs From 730c95eccd3e7d5081f706b8dd2ddf83a4e732ee Mon Sep 17 00:00:00 2001 From: Mainak Kundu Date: Thu, 12 Jan 2023 11:16:02 -0500 Subject: [PATCH 3/3] Bump version 0.7.dev0 --- .github/workflows/ci_cd.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 8b8b9a72..81b22355 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -75,9 +75,8 @@ jobs: name: Documentation needs: docs-style runs-on: [self-hosted, pyfluent] - strategy: - matrix: - image-tag: [v23.1.0] + env: + DOC_DEPLOYMENT_IMAGE_TAG: v23.1.0 steps: - uses: actions/checkout@v3 @@ -113,7 +112,7 @@ jobs: - name: Pull Fluent docker image run: make docker-pull env: - FLUENT_IMAGE_TAG: ${{ matrix.image-tag }} + FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }} - name: Retrieve pyfluent-visualization version run: | @@ -125,9 +124,9 @@ jobs: uses: actions/cache@v3 with: path: doc/source/examples - key: Examples-v${{ env.RESET_EXAMPLES_CACHE }}-${{ steps.version.outputs.PYFLUENT_VISUALIZATION_VERSION }}-${{ matrix.image-tag }}-${{ hashFiles('examples/**') }}-${{ github.sha }} + key: Examples-v${{ env.RESET_EXAMPLES_CACHE }}-${{ steps.version.outputs.PYFLUENT_VISUALIZATION_VERSION }}-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}-${{ hashFiles('examples/**') }}-${{ github.sha }} restore-keys: | - Examples-v${{ env.RESET_EXAMPLES_CACHE }}-${{ steps.version.outputs.PYFLUENT_VISUALIZATION_VERSION }}-${{ matrix.image-tag }}-${{ hashFiles('examples/**') }} + Examples-v${{ env.RESET_EXAMPLES_CACHE }}-${{ steps.version.outputs.PYFLUENT_VISUALIZATION_VERSION }}-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}-${{ hashFiles('examples/**') }} - name: Generate the documentation run: make build-doc @@ -135,7 +134,7 @@ jobs: ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }} PYFLUENT_START_INSTANCE: 0 DOCS_CNAME: fluentvisualization.docs.pyansys.com - FLUENT_IMAGE_TAG: ${{ matrix.image-tag }} + FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }} - name: Zip HTML Documentation before upload run: | @@ -145,7 +144,7 @@ jobs: - name: Upload HTML Documentation uses: actions/upload-artifact@v3 with: - name: HTML-Documentation-tag-${{ matrix.image-tag }} + name: HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }} path: doc.zip retention-days: 7