Skip to content

Commit

Permalink
Update update_latest_versions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelteil committed May 18, 2023
1 parent ffb0e89 commit f7ddf1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update_latest_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
- name: Format version number
id: format_version
run: |
echo "::set-output name=formatted_version::${{ steps.extract_version.outputs.version.replace('refs/tags/', '') }}"
formatted_version=$(echo ${{ steps.extract_version.outputs.version }} | sed 's/refs\/tags\///')
echo "::set-output name=formatted_version::$formatted_version"
- name: Update version
run: echo ${{ steps.format_version.outputs.formatted_version }} > latest_version.txt
Expand Down

0 comments on commit f7ddf1d

Please sign in to comment.