mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 19:40:06 +02:00
update-scripts/version-info: convert to a script
This will allow us to do impure things if needed.
This commit is contained in:
parent
80934be3e9
commit
a95db128a6
3 changed files with 43 additions and 32 deletions
|
@ -43,7 +43,7 @@ writeShellApplication {
|
|||
|
||||
versionInfo() {
|
||||
nix-build ./update-scripts -A version-info
|
||||
install -m 644 -T "$(realpath result)" ./version-info.toml
|
||||
./result
|
||||
if [ -n "$commit" ]; then
|
||||
git add version-info.toml
|
||||
git commit "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue