summary refs log tree commit diff stats
path: root/scripts
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-30 23:06:30 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-30 23:06:30 +0100
commite296ce8cff9917d69a1f234e92cecba3000eafb2 (patch)
tree026639a76dc548274190911d99ce3f0d65562e57 /scripts
parentfeat(soispha/keymap): Actually send a keycode to start the application (diff)
downloadqmk_layout-e296ce8cff9917d69a1f234e92cecba3000eafb2.zip
fix(scripts/deploy.sh): Correctly increment the version
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deployed.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/deployed.sh b/scripts/deployed.sh
index c92693b..fad11e5 100755
--- a/scripts/deployed.sh
+++ b/scripts/deployed.sh
@@ -2,7 +2,10 @@
 
 version="$(nix eval --file ./version.nix)"
 
-echo "\"$((version + 1))\"" >./version.nix
+cat >./version.nix <<EOF
+# NOTE: Change this _EVERY_ time you actually use a new keymap. <2024-12-29>
+$((version + 1))
+EOF
 
 cp ./result/binary_output/zsa_moonlander_* deployes/