mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-07 09:02:32 +00:00
deploy only if tags (#43)
* add VERSION symlink * deploy only on tags true
This commit is contained in:
1
rfd/VERSION
Normal file
1
rfd/VERSION
Normal file
@@ -0,0 +1 @@
|
||||
0.3.2
|
@@ -1,4 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
version = "0.3.2"
|
||||
from os.path import dirname, abspath, join
|
||||
|
||||
|
||||
def load_version():
|
||||
with open(join(dirname(abspath(__file__)), "VERSION")) as handle:
|
||||
return handle.read()
|
||||
|
||||
|
||||
version = load_version()
|
||||
|
Reference in New Issue
Block a user