/[smeserver]/builds_bin/release_rpms
ViewVC logotype

Annotation of /builds_bin/release_rpms

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Fri Oct 14 00:12:43 2005 UTC (18 years, 7 months ago) by gordonr
Branch: MAIN
Changes since 1.2: +1 -1 lines
Only release RPMs passed as args

1 gordonr 1.1 #!/bin/sh
2    
3 gordonr 1.3 for file in $@
4 gordonr 1.1 do
5     arch=$(basename $file .rpm | sed -e 's/.*\.//')
6    
7     case $arch in
8     src) TARGET=/builds/rpms/SRPMS ;;
9    
10     *) TARGET=/builds/rpms/RPMS/$arch ;;
11     esac
12    
13     if [ -f $TARGET/$file ]
14     then
15     echo "$TARGET/$file exists"
16     continue
17     else
18     [ -d $TARGET ] && mkdir -p $TARGET
19    
20     # XXX - FIXME - Force signing of RPMs before release
21     rpm -K $file
22 gordonr 1.2 cp $file $TARGET/$file
23 gordonr 1.1 fi
24     done

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed