From a5dc1864e5fbf4eb083c07a6d9df4c9344d7d68d Mon Sep 17 00:00:00 2001 From: dsinghvi Date: Sat, 5 Oct 2024 08:34:12 -0700 Subject: [PATCH] fix bash scripts --- .github/workflows/release-csharp-sdk.yml | 2 +- .github/workflows/release-go-sdk.yml | 2 +- .github/workflows/release-java-sdk.yml | 2 +- .github/workflows/release-python-sdk.yml | 2 +- .github/workflows/release-ruby-sdk.yml | 2 +- .github/workflows/release-ts-sdk.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-csharp-sdk.yml b/.github/workflows/release-csharp-sdk.yml index 2a98a3c..4de4343 100644 --- a/.github/workflows/release-csharp-sdk.yml +++ b/.github/workflows/release-csharp-sdk.yml @@ -41,7 +41,7 @@ jobs: FERN_TOKEN: ${{ secrets.FERN_TOKEN }} NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} run: | - if ${{ github.event.inputs.makePR }}; then + if [ "${{ github.event.inputs.makePR }}" = "true" ]; then fern generate --group csharp-sdk --version ${{ inputs.version }} --mode pull-request --log-level debug else fern generate --group csharp-sdk --version ${{ inputs.version }} --log-level debug diff --git a/.github/workflows/release-go-sdk.yml b/.github/workflows/release-go-sdk.yml index 6257917..2a778e6 100644 --- a/.github/workflows/release-go-sdk.yml +++ b/.github/workflows/release-go-sdk.yml @@ -40,7 +40,7 @@ jobs: env: FERN_TOKEN: ${{ secrets.FERN_TOKEN }} run: | - if ${{ github.event.inputs.makePR }}; then + if [ "${{ github.event.inputs.makePR }}" = "true" ]; then fern generate --group go-sdk --version ${{ inputs.version }} --mode pull-request --log-level debug else fern generate --group go-sdk --version ${{ inputs.version }} --log-level debug diff --git a/.github/workflows/release-java-sdk.yml b/.github/workflows/release-java-sdk.yml index 60aca71..60739e1 100644 --- a/.github/workflows/release-java-sdk.yml +++ b/.github/workflows/release-java-sdk.yml @@ -42,7 +42,7 @@ jobs: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} run: | - if ${{ github.event.inputs.makePR }}; then + if [ "${{ github.event.inputs.makePR }}" = "true" ]; then fern generate --group java-sdk --version ${{ inputs.version }} --mode pull-request --log-level debug else fern generate --group java-sdk --version ${{ inputs.version }} --log-level debug diff --git a/.github/workflows/release-python-sdk.yml b/.github/workflows/release-python-sdk.yml index 620e96d..db14761 100644 --- a/.github/workflows/release-python-sdk.yml +++ b/.github/workflows/release-python-sdk.yml @@ -41,7 +41,7 @@ jobs: FERN_TOKEN: ${{ secrets.FERN_TOKEN }} PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} run: | - if ${{ github.event.inputs.makePR }}; then + if [ "${{ github.event.inputs.makePR }}" = "true" ]; then fern generate --group python-sdk --version ${{ inputs.version }} --mode pull-request --log-level debug else fern generate --group python-sdk --version ${{ inputs.version }} --log-level debug diff --git a/.github/workflows/release-ruby-sdk.yml b/.github/workflows/release-ruby-sdk.yml index 55de187..a792829 100644 --- a/.github/workflows/release-ruby-sdk.yml +++ b/.github/workflows/release-ruby-sdk.yml @@ -41,7 +41,7 @@ jobs: FERN_TOKEN: ${{ secrets.FERN_TOKEN }} RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }} run: | - if ${{ github.event.inputs.makePR }}; then + if [ "${{ github.event.inputs.makePR }}" = "true" ]; then fern generate --group ruby-sdk --version ${{ inputs.version }} --mode pull-request --log-level debug else fern generate --group ruby-sdk --version ${{ inputs.version }} --log-level debug diff --git a/.github/workflows/release-ts-sdk.yml b/.github/workflows/release-ts-sdk.yml index 954f501..3762d02 100644 --- a/.github/workflows/release-ts-sdk.yml +++ b/.github/workflows/release-ts-sdk.yml @@ -41,7 +41,7 @@ jobs: FERN_TOKEN: ${{ secrets.FERN_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | - if ${{ github.event.inputs.makePR }}; then + if [ "${{ github.event.inputs.makePR }}" = "true" ]; then fern generate --group ts-sdk --version ${{ inputs.version }} --mode pull-request --log-level debug else fern generate --group ts-sdk --version ${{ inputs.version }} --log-level debug