Skip to content

Commit

Permalink
fix bash scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi committed Oct 5, 2024
1 parent e42cf1c commit a5dc186
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-csharp-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-go-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-java-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-python-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-ruby-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-ts-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5dc186

Please sign in to comment.