Skip to content

Commit

Permalink
Update sync-release-version.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Sep 23, 2023
1 parent d4621fc commit c67586d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync-release-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
uses: tj-actions/semver-diff@v2

- name: Show release type
if: steps.semver-diff.outputs.release_type == "major"
if: steps.semver-diff.outputs.release_type == 'major'
run: |
OLD_VERSION=$(echo "${{ steps.semver-diff.outputs.old_version }}" | cut -d'.' -f1 | cut -d'v' -f2)
MAJOR_VERSION=$(echo "${{ steps.semver-diff.outputs.new_version }}" | cut -d'.' -f1 | cut -d'v' -f2)
make upgrade-from-one-version-to-a-major-version OLD_VERSION=$OLD_VERSION MAJOR_VERSION=$MAJOR_VERSION
- name: Commit the change to the main branch and update the latest version
if: steps.semver-diff.outputs.release_type == "major"
if: steps.semver-diff.outputs.release_type == 'major'
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
Expand Down

0 comments on commit c67586d

Please sign in to comment.