Author: Adam Evyčędo <git@apiote.xyz>
szczanieckiej takes TRAFFIC from last tag
szczanieckiej/build.sh | 5 +++++
diff --git a/szczanieckiej/build.sh b/szczanieckiej/build.sh index b4e599cc8c524cf4eb21ccb59a4e9990f3ae4aac..cb06ff27cac3d83341cd1bc7efc1181f7174ba6a 100755 --- a/szczanieckiej/build.sh +++ b/szczanieckiej/build.sh @@ -6,6 +6,11 @@ item="$1" git clone https://git.apiote.xyz/git/szczanieckiej.git git clone https://git.apiote.xyz/git/traffic.git +( + cd traffic + TAG=$(git tag | sort -V | tail -n1) + git checkout "$TAG" +) cd szczanieckiej mk commit=$(git show --pretty=oneline --abbrev-commit --name-only | head -n1 | cut -d ' ' -f 1)