Skip to content

Commit

Permalink
Pipe version file env to head
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Sep 28, 2024
1 parent e3a083e commit 5aa74de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/milestones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Get milestone title from VERSION file
id: version
run: |
version=$(head -n 3 $VERSIONFILE | xargs | sed 's/ /./g' | sed 's/\(RC\|dev\)//g')
version=$($VERSIONFILE | head -n 3 | xargs | sed 's/ /./g' | sed 's/\(RC\|dev\)//g')
echo "version=$version" >> "${GITHUB_OUTPUT}"
env:
VERSIONFILE: ${{ steps.version-file.outputs.version}}
Expand Down

0 comments on commit 5aa74de

Please sign in to comment.