fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1runCommand: git: repository: branch:
2 import (runCommand "head-revision"
3 { buildInputs = [ git ];
4 dummy = builtins.currentTime;
5 }
6 ''
7 rev=$(git ls-remote ${repository} | grep "refs/${branch}$" | awk '{ print $1 }')
8 echo "[ \"$rev\" ]" > $out
9 echo Latest revision in ${branch} is $rev
10 '')