Skip to content

Commit

Permalink
update deprecated function (kiali#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
leandroberetta authored Dec 5, 2022
1 parent 4155687 commit 4863ac7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ jobs:
DO_RELEASE=$(python minor.py)
if [[ $DO_RELEASE == "1" ]]
then
echo "::set-output name=release_type::minor"
echo "release_type=minor" >> $GITHUB_OUTPUT
else
echo "::set-output name=release_type::skip"
echo "release_type=skip" >> $GITHUB_OUTPUT
fi
else
echo "::set-output name=release_type::${{ github.event.inputs.release_type }}"
echo "release_type=${{ github.event.inputs.release_type }}" >> $GITHUB_OUTPUT
fi
- name: Determine release version
Expand All @@ -108,7 +108,7 @@ jobs:
RELEASE_VERSION=$RELEASE_VERSION
fi
echo "::set-output name=release_version::$RELEASE_VERSION"
echo "release_version=$RELEASE_VERSION" >> $GITHUB_OUTPUT
- name: Determine next version
if: ${{ steps.release_type.outputs.release_type != 'skip' }}
Expand All @@ -125,14 +125,15 @@ jobs:
NEXT_VERSION=$(python bump.py $RELEASE_TYPE $RELEASE_VERSION)
fi
echo "::set-output name=next_version::$NEXT_VERSION"
echo "next_version=$NEXT_VERSION" >> $GITHUB_OUTPUT
- name: Determine branch version
if: ${{ steps.release_type.outputs.release_type != 'skip' }}
env:
RELEASE_VERSION: ${{ steps.release_version.outputs.release_version }}
id: branch_version
run: echo "::set-output name=branch_version::$(echo $RELEASE_VERSION | sed 's/\.[0-9]*\+$//')"
run: |
echo "branch_version=$(echo $RELEASE_VERSION | sed 's/\.[0-9]*\+$//')" >> $GITHUB_OUTPUT
- name: Log information
run: |
Expand Down

0 comments on commit 4863ac7

Please sign in to comment.