Skip to content

Commit 42a4117

Browse files
committed
Sets version in visual console
1 parent 2d4a534 commit 42a4117

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

pipeline.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<pipeline xmlns="http://www.sing-group.org/compi/pipeline-1.0"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5-
<version>1.1.1</version>
5+
<version>1.2.0</version>
66

77
<params>
88
<param name="workingDir" shortName="wd" global="true" defaultValue="/working_dir">The working directory of the project.</param>

resources/development/set-new-version.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,11 @@ sed -i "s#^MYBRAIN_SEQ_VERSION=.*#MYBRAIN_SEQ_VERSION=\${MYBRAIN_SEQ_VERSION-${N
1818

1919
echo "You should also have a look at the following files as they contain the old version (${OLD_VERSION})":
2020
rgrep -l --exclude-dir './image-files' --exclude '*.R' ${OLD_VERSION} ./*
21+
22+
year=$(date '+%Y')
23+
echo "Updating the footer of the visual console with the new version and the current year"
24+
25+
mv ${PROJECT_DIR}/resources/visual_console/foot.txt ${PROJECT_DIR}/resources/visual_console/foot.txt.old
26+
head -n -1 ${PROJECT_DIR}/resources/visual_console/foot.txt.old > ${PROJECT_DIR}/resources/visual_console/foot.txt
27+
rm ${PROJECT_DIR}/resources/visual_console/foot.txt.old
28+
echo " © MyBrain-Seq v${new_version}, 2020-${year}" >> ${PROJECT_DIR}/resources/visual_console/foot.txt

resources/visual_console/foot.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22

33
...............................................................................
4-
© MyBrain-Seq, 2020-2023
4+
© MyBrain-Seq v1.2.0, 2020-2025

0 commit comments

Comments
 (0)