seccanj avatar seccanj committed eef82a3

Updated package.sh to do the full job of building archives and publishing on SF and BB.

Comments (0)

Files changed (1)

 VER=$1
 
-zip -r testman4trac.$VER.zip bin
+. ./clean.sh
+. ./build.sh
+
+zip -r ../testman4trac.$VER.zip bin
+tar cvzf ../testmanager.$VER.tar.gz bin
+
+. ./clean.sh
 
 mkdir testman4trac.$VER
 
 
 . ./clean.sh
 find . -type d -name .svn -print -exec rm -rf {} \;
+find . -type d -name .hg -print -exec rm -rf {} \;
+find . -type f -name "*.bak" -print -exec rm -f {} \;
 
 cd ..
 
-zip -r testman4trac.$VER.src.zip testman4trac.$VER
+zip -r ../testman4trac.$VER.src.zip testman4trac.$VER
+tar cvzf ../testmanager.$VER.src.tar.gz testman4trac.$VER
 
-rm -rf testman4trac.$VER
+svn co https://testman4trac.svn.sourceforge.net/svnroot/testman4trac testman4trac.$VER.SVN
+cd testman4trac.$VER.SVN
+cp -R ../testman4trac.$VER/* .
+svn status
+svn add
+svn commit
+
+cd ..
+
+hg clone https://seccanj@bitbucket.org/olemis/testman4trac testman4trac.$VER.BITBKT
+cd testman4trac.$VER.BITBKT
+cp -R ../testman4trac.$VER/* .
+hg status
+hg add
+hg commit
+hg push
+
+cd ..
+#rm -rf testman4trac.$VER testman4trac.$VER.SVN testman4trac.$VER.BITBKT
+
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.