We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6892ae3 commit ff9cac0Copy full SHA for ff9cac0
.github/workflows/fpm-version-update.yml
@@ -25,7 +25,7 @@ jobs:
25
- name: Extract current formula version
26
id: get-current-version
27
run: |
28
- CURRENT_VERSION="$(grep -oP 'url "https://github.com/fortran-lang/fpm/releases/download/v\K[0-9.]+' Formula/fpm.rb)"
+ CURRENT_VERSION="$(grep -oP 'url "https://github.com/fortran-lang/fpm/releases/download/v\K[0-9.]+' Formula/fpm.rb | head -n 1)"
29
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_ENV
30
echo "Current version: ${CURRENT_VERSION}"
31
0 commit comments