File: make-upload

package info (click to toggle)
yaws 1.65-4etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,164 kB
  • ctags: 3,907
  • sloc: erlang: 20,138; sh: 3,675; makefile: 556; ansic: 404; lisp: 79
file content (23 lines) | stat: -rwxr-xr-x 553 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

# This is make it a wee bit more convenient for
# me to publish the tar balls
# set -x

if [ $# != 1 ]; then
   echo 'usage: make-upload <tarball>'
   exit 1
fi


echo "cd incoming " >  /tmp/cmds.$$
echo "put $1 " >> /tmp/cmds.$$
ncftp -u anonymous -p klacke@hyber.org upload.sourceforge.net < /tmp/cmds.$$
rm /tmp/cmds.$$
#scp $1 klacke@gnejs.hyber.org:/var/yaws/www/download


echo "Now login at sourceforge at go the page"
echo "http://sourceforge.net/project/admin/editpackages.php?group_id=45637"
echo "and create the new package ... "