hedgedoc new release
This commit is contained in:
parent
0ca35a2e7e
commit
d17b146476
3 changed files with 19 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
from semver import compare
|
||||
|
||||
repo.libs.tools.require_bundle(node, 'nodejs')
|
||||
|
||||
git_deploy = {
|
||||
|
@ -47,6 +49,21 @@ directories = {
|
|||
},
|
||||
}
|
||||
|
||||
if compare(node.metadata.get('hedgedoc/version'), '1.9.7') <= 0:
|
||||
command = ' && '.join([
|
||||
'cd /opt/hedgedoc',
|
||||
'yarn install --production=true --pure-lockfile --ignore-scripts',
|
||||
'yarn install --ignore-scripts',
|
||||
'yarn build',
|
||||
])
|
||||
elif compare(node.metadata.get('hedgedoc/version'), '1.9.9') >= 0:
|
||||
command = ' && '.join([
|
||||
'cd /opt/hedgedoc',
|
||||
'bin/setup',
|
||||
'yarn install --immutable',
|
||||
'yarn build',
|
||||
])
|
||||
|
||||
actions = {
|
||||
'hedgedoc_yarn': {
|
||||
'command': ' && '.join([
|
||||
|
|
|
@ -80,7 +80,7 @@ nodes['htz-cloud.miniserver'] = {
|
|||
},
|
||||
},
|
||||
'hedgedoc': {
|
||||
'version': '1.9.7',
|
||||
'version': '1.9.8',
|
||||
'config': {
|
||||
'production': {
|
||||
'allowAnonymousEdits': True,
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
bundlewrap>=4.16.0
|
||||
PyNaCl
|
||||
bundlewrap-pass
|
||||
semver
|
||||
|
|
Loading…
Reference in a new issue