diaspora-nixpkgs/generate.sh

5 lines
216 B
Bash
Raw Permalink Normal View History

2023-07-31 01:19:48 +00:00
curl https://api.github.com/repos/diaspora/diaspora/commits/master | \
jq '.commit.author.date' -r | \ # extracts the datetime w/o quotes
sed -e 's/\(.*\)T.*Z/"\1"/' > \ # removes time and adds quotes
version.nix