Author: Adam <git@apiote.xyz>
use TRAFFIC latest tag in szczanieckiej
szczanieckiej/build.sh | 5 +++++
diff --git a/szczanieckiej/build.sh b/szczanieckiej/build.sh index b4e599cc8c524cf4eb21ccb59a4e9990f3ae4aac..fefca392eb738fef5c65da71edc720588631f80e 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 + TRAFFIC_TAG=$(git tag | sort | head -n1) + git switch -d "$TRAFFIC_TAG" +) cd szczanieckiej mk commit=$(git show --pretty=oneline --abbrev-commit --name-only | head -n1 | cut -d ' ' -f 1)