mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-23 14:01:56 +00:00
Added commands to justfile
This commit is contained in:
7
justfile
7
justfile
@@ -1,5 +1,6 @@
|
|||||||
update auto-rollback="false":
|
update auto-rollback="false":
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
set -euxo pipefail
|
||||||
if [ ! -f update.lock ]; then
|
if [ ! -f update.lock ]; then
|
||||||
touch update.lock
|
touch update.lock
|
||||||
just tag-version
|
just tag-version
|
||||||
@@ -83,3 +84,9 @@ cleanup-versions:
|
|||||||
git tag -d $tag
|
git tag -d $tag
|
||||||
rm -f "versions/${tag#backup-}.txt"
|
rm -f "versions/${tag#backup-}.txt"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
cleanup:
|
||||||
|
docker container prune
|
||||||
|
docker image prune
|
||||||
|
docker builder prune -af
|
||||||
|
cleanup-versions
|
||||||
|
|||||||
Reference in New Issue
Block a user