From 51fe6ad10d08fb595de07eb5fd6198246d29d045 Mon Sep 17 00:00:00 2001 From: ckoegel Date: Mon, 11 Nov 2024 16:55:38 -0500 Subject: [PATCH 1/2] SWI-6181 Update Deploy Workflow --- .github/workflows/deploy.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3cf5c822..6031526e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -109,7 +109,7 @@ jobs: run: | re=[0-9]+\.[0-9]+\.[0-9]+ if ! [[ $RELEASE_VERSION =~ $re ]]; then - echo 'Tag does not match expected regex pattern for beta releases (v[0-9]+.[0-9]+.[0-9]+b[0-9]+)' + echo 'Tag does not match expected regex pattern for releases (v[0-9]+.[0-9]+.[0-9]+b[0-9]+)' echo $RELEASE_VERSION echo 'Please update your tag to match the expected regex pattern' exit 1 @@ -118,6 +118,13 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Build SDK + uses: Bandwidth/generate-sdk-action@v4.0.0 + with: + openapi-generator-version: 7.7.0 + language: python + additional-properties: --additional-properties=packageVersion=$RELEASE_VERSION + - name: Install Packages run: |- pip install -r requirements.txt From 00a3847fe35f410aeb72be0b0d9df1c253ba6656 Mon Sep 17 00:00:00 2001 From: ckoegel Date: Mon, 11 Nov 2024 17:01:31 -0500 Subject: [PATCH 2/2] prerelease --- .github/workflows/deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6031526e..14f79a0b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -49,6 +49,13 @@ jobs: with: ref: feature/openapi-generator-sdk + - name: Build SDK + uses: Bandwidth/generate-sdk-action@v4.0.0 + with: + openapi-generator-version: 7.7.0 + language: python + additional-properties: --additional-properties=packageVersion=$RELEASE_VERSION + - name: Install Packages run: | pip install -r requirements.txt