Skip to content

Commit

Permalink
Maint: update release branch (#123)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: ludovicsteinbach <ludovicsteinbach@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 11, 2024
1 parent 9906085 commit 4438fc1
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ jobs:
- name: "Release to GitHub"
uses: softprops/action-gh-release@v1
with:
files: ~/dist/*.whl
files: ~/dist/ansys-grantami-serverapi-openapi-wheel/*.whl
4 changes: 3 additions & 1 deletion .github/workflows/generate_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
name: "Generate and update client library"
runs-on: ubuntu-latest
if: ${{ github.actor != 'pyansys-bot[bot]' }}
env:
IS_RELEASE_BRANCH: ${{ (github.event_name == 'pull_request' && startsWith(github.event.pull_request.base.ref, 'release/')) || (github.event_name == 'workflow_dispatch' && startsWith(github.ref_name, 'release/')) }}
steps:
- name: "Get Bot Application Token"
id: get_workflow_token
Expand All @@ -40,7 +42,7 @@ jobs:
working-directory: ansys-grantami-serverapi-openapi

- name: "Build client library"
run: mvn -Dbuild-id=${{ github.run_number }} -s .m2/settings.xml compile
run: mvn -Dbuild-id=${{ github.run_number }} ${{ env.IS_RELEASE_BRANCH == 'true' && '-Dis-release' || '' }} -s .m2/settings.xml compile
env:
MAVEN_OPTS: "-Dlog4j2.formatMsgNoLookups=true"
SERVER_USERNAME: ${{ secrets.REPO_USER }}
Expand Down
2 changes: 1 addition & 1 deletion ansys-grantami-serverapi-openapi/.swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.51
3.0.52
6 changes: 3 additions & 3 deletions ansys-grantami-serverapi-openapi/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions ansys-grantami-serverapi-openapi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "ansys-grantami-serverapi-openapi"
description = "Autogenerated client library for the Granta MI Server API."
version = "2.0.0rc0"
version = "2.0.0"
license = "MIT"
authors = ["ANSYS, Inc. <pyansys.core@ansys.com>"]
maintainers = ["ANSYS, Inc. <pyansys.core@ansys.com>"]
homepage = "https://github.com/ansys/grantami-serverapi-openapi"
documentation = "https://grantami.docs.pyansys.com"
readme = "README.md"
keywords = ["Ansys", "OpenAPI"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand All @@ -30,7 +31,7 @@ packages = [

[tool.poetry.dependencies]
python = "^3.9.0"
ansys-openapi-common = "^1.4.0rc0"
ansys-openapi-common = "^1.4.0"
requests = "^2.26.0"
python-dateutil = "^2.8.2"

Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<maven-plugin-version>1.0.0</maven-plugin-version>
<base-package-version>0.1.0</base-package-version>
<yaml-filename>server-api.json</yaml-filename>
<swagger-template-version>2.0.5-RC0-SNAPSHOT</swagger-template-version>
<swagger-template-version>2.0.6-SNAPSHOT</swagger-template-version>
<package-name>ansys-grantami-serverapi-openapi</package-name>
<package-import-path>ansys.grantami.serverapi_openapi</package-import-path>
<package-description>Autogenerated client library for the Granta MI Server API.</package-description>
Expand All @@ -23,7 +23,7 @@
<plugin>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>3.0.51</version>
<version>3.0.52</version>
<executions>
<execution>
<goals>
Expand All @@ -42,6 +42,7 @@
<pythonicPackageName>ansys-grantami-recordlists</pythonicPackageName>
<pythonicPackageUrl>https://github.com/ansys/grantami-recordlists</pythonicPackageUrl>
<homepageUrl>https://github.com/ansys/grantami-serverapi-openapi</homepageUrl>
<documentationUrl>https://grantami.docs.pyansys.com</documentationUrl>
<packageVersion>${project.version}</packageVersion>
<buildNumber>${build-id}</buildNumber>
<isReleaseBuild>${is-release}</isReleaseBuild>
Expand Down

0 comments on commit 4438fc1

Please sign in to comment.