summaryrefslogtreecommitdiff
path: root/ci
blob: 84790afa8f339d601893a31914ce5403375ae095 (plain)
1
2
3
4
5
6
7
#!/bin/sh

ref=$(guix environment --ad-hoc --container git -- git symbolic-ref HEAD)
commit=$(guix environment --ad-hoc --container git -- git rev-parse $ref)
parent=$(guix environment --ad-hoc --container git -- git log --pretty=%P -n 1 $commit)

./hooks/update $ref $parent $commit