Skip to content

Commit 48dede8

Browse files
committed
Closes #1404
1 parent a071205 commit 48dede8

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ For documentation, please see: http://sciinstitute.github.io/SCIRun/
6767
* Parallel make builds can be used as long the Boost target is built first, for example:
6868
- make -j4 Boost_external && make -j4
6969

70+
### Tagging releases
71+
On an OSX system, run script `release.sh` in the `src` directory with the release name in format `alpha.XX` as a parameter.
72+
7073
### Questions and Answers
7174
For help, email the testing mailing list at [email protected].
7275

src/release.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
22

3-
# Called with a single parameter in the form "alpha.XX" or "beta.A"
43
MINPARAMS=1
54

65
if [ $# -lt "$MINPARAMS" ]
76
then
87
echo
9-
echo "This script needs at least $MINPARAMS command-line arguments!"
8+
echo "Called with a single parameter of the form \"alpha.XX\" or \"beta.A\""
9+
echo
1010
exit 0
1111
fi
1212

@@ -17,7 +17,7 @@ git checkout master
1717
rm LATEST_TAG.txt
1818
echo $VERSION >> LATEST_TAG.txt
1919
git add LATEST_TAG.txt
20-
echo "git commit -m \"Tagged release $VERSION\""
21-
echo "git push origin master"
22-
echo "git tag -a $VERSION -m \"Release $VERSION\""
23-
echo "git push --tags"
20+
git commit -m "Tagged release $VERSION"
21+
git push origin master
22+
git tag -a $VERSION -m "Release $VERSION"
23+
git push --tags

0 commit comments

Comments
 (0)