Merge branch 'master' into 'master'
version bump See merge request pleroma/relay!36
This commit is contained in:
commit
a2b0b2f548
|
@ -1,4 +1,4 @@
|
|||
__version__ = '0.2.0'
|
||||
__version__ = '0.2.1'
|
||||
|
||||
from aiohttp.web import Application
|
||||
|
||||
|
|
|
@ -12,9 +12,10 @@ from .processors import run_processor
|
|||
|
||||
try:
|
||||
commit_label = subprocess.check_output(["git", "rev-parse", "HEAD"]).strip().decode('ascii')
|
||||
version = f'{__version__} {commit_label}'
|
||||
|
||||
except:
|
||||
commit_label = '???'
|
||||
version = __version__
|
||||
|
||||
|
||||
async def home(request):
|
||||
|
@ -169,7 +170,7 @@ async def nodeinfo_2_0(request):
|
|||
},
|
||||
'software': {
|
||||
'name': 'activityrelay',
|
||||
'version': f'{__version__} {commit_label}'
|
||||
'version': version
|
||||
},
|
||||
'usage': {
|
||||
'localPosts': 0,
|
||||
|
|
Loading…
Reference in a new issue