fix(deps): update dependency unleash-server to v6.5.2 (#171) #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create tag on updated version | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
create-tag: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
folder: | |
- azure | |
- openid-connect | |
outputs: | |
version: ${{ steps.retrieve-version.outputs.version }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- id: retrieve-version | |
run: | | |
PACKAGE_VERSION=$(cat platforms/${{ matrix.folder }}/package.json \ | |
| grep unleash-server \ | |
| head -1 \ | |
| awk -F: '{ print $2 }' \ | |
| sed 's/[", ]//g') | |
echo "::set-output name=version::${PACKAGE_VERSION}" | |
- run: echo "Version = ${{ steps.retrieve-version.outputs.version }}" | |
- uses: rickstaa/action-create-tag@v1 | |
continue-on-error: true | |
with: | |
tag: ${{ steps.retrieve-version.outputs.version }} |