From a50b38fe4bf50d27f0aab5b3610ca843ca003b3d Mon Sep 17 00:00:00 2001 From: Suzanne Soy Date: Tue, 18 Apr 2023 02:35:42 +0100 Subject: [PATCH] Name IPFS pins with date (for sorting) --- .github/github_update_homepage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/github_update_homepage.sh b/.github/github_update_homepage.sh index 68b5404..acd2b76 100755 --- a/.github/github_update_homepage.sh +++ b/.github/github_update_homepage.sh @@ -30,7 +30,7 @@ echo "Connecting to some IPFS node..." echo "Pinning $h on the remote service..." ( - ipfs pin remote add --service=my-remote-pin --name='site-suzanne.soy-'"$GITHUB_SHA" "$h" + ipfs pin remote add --service=my-remote-pin --name='site-suzanne.soy-'"$(TZ=UTC git log -1 --format=%cd --date=iso-strict-local HEAD)"-"$GITHUB_SHA" "$h" ) > /dev/null 2>&1 echo "Finished pinning $h on the remote service"