Skip to content
Snippets Groups Projects
Commit 74704c02 authored by Bienchen's avatar Bienchen
Browse files

Put SIngularity under bump_version.py control

parent 6fa44c03
No related branches found
No related tags found
No related merge requests found
......@@ -35,3 +35,13 @@ for i, line in enumerate(lines):
if line.startswith("ARG OPENSTRUCTURE_VERSION"):
lines[i] = 'ARG OPENSTRUCTURE_VERSION="%s"\n' % version_string
open("docker/Dockerfile", "w").writelines(lines)
# fix Singularity recipe
vfile = "singularity/Singularity"
lines = open(vfile).readlines()
for i, line in enumerate(lines):
if line.startswith("From: registry.scicore.unibas.ch/schwede/openstructure:"):
lines[i] = 'From: registry.scicore.unibas.ch/schwede/openstructure:'+\
'"%s"' % version_string
break
open(vfile, "w").writelines(lines)
BootStrap: docker
From: registry.scicore.unibas.ch/schwede/openstructure:python3_test2
From: registry.scicore.unibas.ch/schwede/openstructure:"2.0.0"
%post
##############################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment