diff options
author | dan miller | 2007-10-19 05:22:23 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 05:22:23 +0000 |
commit | 1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43 (patch) | |
tree | 51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9/tools/src-release.sh | |
parent | one more for the gipper (diff) | |
download | opensim-SC_OLD-1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43.zip opensim-SC_OLD-1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43.tar.gz opensim-SC_OLD-1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43.tar.bz2 opensim-SC_OLD-1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43.tar.xz |
trying to fix my screwup, please hold on
Diffstat (limited to '')
-rw-r--r-- | libraries/ode-0.9/tools/src-release.sh | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/libraries/ode-0.9/tools/src-release.sh b/libraries/ode-0.9/tools/src-release.sh deleted file mode 100644 index 011a96b..0000000 --- a/libraries/ode-0.9/tools/src-release.sh +++ /dev/null | |||
@@ -1,104 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | ################################################################### | ||
3 | # ODE Source Code Release Script | ||
4 | # Originally written by Jason Perkins (starkos@gmail.com) | ||
5 | # | ||
6 | # Prerequisites: | ||
7 | # svn, zip | ||
8 | ################################################################### | ||
9 | |||
10 | # Check arguments | ||
11 | if [ $# -ne 2 ]; then | ||
12 | echo 1>&2 "Usage: $0 version_number branch_name" | ||
13 | exit 1 | ||
14 | fi | ||
15 | |||
16 | |||
17 | ################################################################### | ||
18 | # Pre-build checklist | ||
19 | ################################################################### | ||
20 | |||
21 | echo "" | ||
22 | echo "STARTING PREBUILD CHECKLIST, PRESS ^^C TO ABORT." | ||
23 | echo "" | ||
24 | echo "Is the version number '$1' correct?" | ||
25 | read line | ||
26 | echo "" | ||
27 | echo "Have you created a release branch named '$2' in SVN?" | ||
28 | read line | ||
29 | echo "" | ||
30 | echo "Have you run all of the tests?" | ||
31 | read line | ||
32 | echo "" | ||
33 | echo "Is the Changelog up to date?" | ||
34 | read line | ||
35 | echo "" | ||
36 | echo "Okay, ready to build the source code package for version $1!" | ||
37 | read line | ||
38 | |||
39 | |||
40 | ################################################################### | ||
41 | # Retrieve source code | ||
42 | ################################################################### | ||
43 | |||
44 | echo "" | ||
45 | echo "RETRIEVING SOURCE CODE FROM REPOSITORY..." | ||
46 | echo "" | ||
47 | f | ||
48 | svn export https://opende.svn.sourceforge.net/svnroot/opende/branches/$2 ode-$1 | ||
49 | |||
50 | |||
51 | ################################################################### | ||
52 | # Prepare source code | ||
53 | ################################################################### | ||
54 | |||
55 | echo "" | ||
56 | echo "PREPARING SOURCE TREE..." | ||
57 | echo "" | ||
58 | |||
59 | cd ode-$1 | ||
60 | chmod 755 autogen.sh | ||
61 | ./autogen.sh | ||
62 | rm -rf autom4te.cache | ||
63 | |||
64 | cp build/config-default.h include/ode/config.h | ||
65 | |||
66 | cd ode/doc | ||
67 | doxygen | ||
68 | |||
69 | cd ../../.. | ||
70 | |||
71 | |||
72 | ################################################################### | ||
73 | # Package source code | ||
74 | ################################################################### | ||
75 | |||
76 | echo "" | ||
77 | echo "PACKAGING SOURCE CODE..." | ||
78 | echo "" | ||
79 | |||
80 | zip -r9 ode-src-$1.zip ode-$1/* | ||
81 | |||
82 | |||
83 | ################################################################### | ||
84 | # Clean up | ||
85 | ################################################################### | ||
86 | |||
87 | echo "" | ||
88 | echo "CLEANING UP..." | ||
89 | echo "" | ||
90 | |||
91 | rm -rf ode-$1 | ||
92 | |||
93 | |||
94 | ##################################################################### | ||
95 | # Send the files to SourceForge | ||
96 | ##################################################################### | ||
97 | |||
98 | echo "" | ||
99 | echo "Upload packages to SourceForge?" | ||
100 | read line | ||
101 | if [ $line = "y" ]; then | ||
102 | echo "Uploading to SourceForge..." | ||
103 | ftp -n upload.sourceforge.net < ftp_src_script | ||
104 | fi | ||