File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1111 [
1212 " @semantic-release/exec" ,
1313 {
14- "prepareCmd" : " ./updateVersion.sh ${nextRelease.version} ${options.branch} && ./scripts/generatedocs.sh && ./scripts/createdistribution.sh" ,
14+ "prepareCmd" : " ./updateVersion.sh ${nextRelease.version} && ./scripts/generatedocs.sh && ./scripts/createdistribution.sh" ,
1515 "publishCmd" : " ./scripts/uploaddistribution_test.sh && ./scripts/uploaddistribution_live.sh"
1616 }
1717 ],
Original file line number Diff line number Diff line change 66
77# version format: X.Y.Z
88newversion=" $1 " ;
9- branch=" $2 " ;
109
11- if [ " $branch " = " master" ]; then
12- sed -i " s/return \" [0-9]\+\.[0-9]\+\.[0-9]\+\" /return \" ${newversion} \" /g" hexonet/apiconnector/apiclient.py
13- sed -i " s/__version__ = \" [0-9]\+\.[0-9]\+\.[0-9]\+\" /__version__ = \" ${newversion} \" /g" hexonet/apiconnector/__init__.py
14- fi ;
10+ sed -i " s/return \" [0-9]\+\.[0-9]\+\.[0-9]\+\" /return \" ${newversion} \" /g" hexonet/apiconnector/apiclient.py
11+ sed -i " s/__version__ = \" [0-9]\+\.[0-9]\+\.[0-9]\+\" /__version__ = \" ${newversion} \" /g" hexonet/apiconnector/__init__.py
You can’t perform that action at this time.
0 commit comments