Skip to content

Commit 45d2d9f

Browse files
committed
update timestamp
1 parent 276dac6 commit 45d2d9f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/fpm-version-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Update formula
6262
if: env.UPDATE_NEEDED == 'true'
6363
run: |
64-
sed -i "1i # Formula last updated on $(date)" Formula/fpm.rb
64+
sed -i "1s|^|# Formula last updated on $(date +'%Y-%m-%d %H:%M:%S')\n|" Formula/fpm.rb
6565
sed -i "s|url \".*\"|url \"https://github.com/fortran-lang/fpm/releases/download/${LATEST_VERSION_V}/fpm-${LATEST_VERSION}.zip\"|" Formula/fpm.rb
6666
sed -i "s|sha256 \".*\"|sha256 \"${SHA256}\"|" Formula/fpm.rb
6767

Formula/fpm.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Formula last updated on 2025-03-10
2+
13
class Fpm < Formula
24
desc "Fortran Package Manager (fpm)"
35
homepage "https://fpm.fortran-lang.org"

0 commit comments

Comments
 (0)