mirror of
https://github.com/metosin/reitit.git
synced 2026-01-09 16:49:50 +00:00
Script to setup versin
* original: https://github.com/juxt/yada/blob/master/set-version
This commit is contained in:
parent
a3ebb04038
commit
7a730a1b7e
1 changed files with 6 additions and 0 deletions
6
set-version
Executable file
6
set-version
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
ext="sedbak$$"
|
||||
|
||||
find . -name project.clj -exec sed -i.$ext "s/(def VERSION \".*\")/(def VERSION \"$1\")/g" '{}' \;
|
||||
find . -name "*.$ext" -exec rm '{}' \;
|
||||
Loading…
Reference in a new issue