Author: Adam <git@apiote.xyz>
fix asgard
asgard/build.sh | 2 +-
diff --git a/asgard/build.sh b/asgard/build.sh index 01fa06ab53777a2d5fae3c156cd27da09239f08a..bb7091c6ae7aea6435282511fe86304ed2c8f8cc 100755 --- a/asgard/build.sh +++ b/asgard/build.sh @@ -7,7 +7,7 @@ git clone https://git.apiote.xyz/git/asgard.git cd asgard go build -tar cf asgard.txz templates/ asgard programs/ +tar cf asgard.txz templates/ asgard commit=$(git show --pretty=oneline --abbrev-commit --name-only | head -n1 | cut -d ' ' -f 1) timestamp=$(date '+%Y%m%dT%H%M') scp asgard.txz deploy@host.containers.internal:toys/asgard/${item}/asgard_${timestamp}_${commit}.txz