Skip to content

Commit 7a5bf53

Browse files
committed
version setter
1 parent d3e5d01 commit 7a5bf53

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ coldfront.log
2323
coldfront.env
2424
.env
2525
__pycache__
26+
VERSION

set-version.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
echo `git describe --tags 2>/dev/null || git rev-parse --short HEAD` > VERSION

0 commit comments

Comments
 (0)