Skip to content

Commit

Permalink
fixed version string
Browse files Browse the repository at this point in the history
  • Loading branch information
dexterlabora authored Oct 22, 2024
1 parent 4669659 commit e6c4e3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-pre-release-patch-version-oas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
if [ -n "${{ github.event.inputs.override_version }}" ]; then
echo "NEW_VERSION=v${{ github.event.inputs.override_version }}" >> $GITHUB_ENV
else
echo "NEW_VERSION=v${{ env.CURRENT_VERSION_MAJOR }}.${{ env.CURRENT_VERSION_MINOR }}.${{ env.NEXT_VERSION_PATCH }}-beta" >> $GITHUB_ENV
echo "NEW_VERSION=v${{ env.CURRENT_VERSION_MAJOR }}.${{ env.CURRENT_VERSION_MINOR }}.${{ env.NEXT_VERSION_PATCH }}-beta.0" >> $GITHUB_ENV
fi
- name: Update OAS docs with new version
uses: jacobtomlinson/gha-find-replace@v2
Expand All @@ -73,4 +73,4 @@ jobs:
prerelease: true
artifacts: "${{ env.NEW_VERSION }}.tar.gz,${{ env.NEW_VERSION }}.zip"
skipIfReleaseExists: true
body: "API version ${{ env.NEW_VERSION }}"
body: "API version ${{ env.NEW_VERSION }}"

0 comments on commit e6c4e3b

Please sign in to comment.