summary refs log tree commit diff stats
path: root/scripts/deployed.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-30 18:53:10 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-30 18:53:10 +0100
commitd99e4119792b832928a0306d0f342710b53a6ef3 (patch)
tree2429e51421b9dd54d8dde8473ddad1167d20f985 /scripts/deployed.sh
parentfix(soispha/hid): Ignore all received rawhid input (diff)
downloadqmk_layout-d99e4119792b832928a0306d0f342710b53a6ef3.zip
feat(scripts/deployed): Track successful deployments
Diffstat (limited to 'scripts/deployed.sh')
-rwxr-xr-xscripts/deployed.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/deployed.sh b/scripts/deployed.sh
new file mode 100755
index 0000000..c92693b
--- /dev/null
+++ b/scripts/deployed.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env sh
+
+version="$(nix eval --file ./version.nix)"
+
+echo "\"$((version + 1))\"" >./version.nix
+
+cp ./result/binary_output/zsa_moonlander_* deployes/
+
+# vim: ft=sh