/[cvs]/nfo/perl/scripts/shortcuts/release.pl
ViewVC logotype

Annotation of /nfo/perl/scripts/shortcuts/release.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Mon Jan 20 21:24:33 2003 UTC (21 years, 5 months ago) by joko
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
+ some convenient shortcut-scripts around tar and scp - please this path to your PATH to get maximum satisfaction out of it!

1 joko 1.1 #!/usr/bin/perl
2    
3     ## --------------------------------------------------------------------------------
4     ## $Id: feed.pl,v 1.3 2003/01/20 16:29:48 joko Exp $
5     ## --------------------------------------------------------------------------------
6     ## $Log: feed.pl,v $
7     ## --------------------------------------------------------------------------------
8    
9    
10     use strict;
11     use warnings;
12    
13     BEGIN {
14     use FindBin qw($Bin);
15     use lib qw(
16     $Bin/../../libs
17     );
18     }
19    
20    
21     # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - main
22    
23     use org::netfrag::shortcuts qw( run_cmd run_cmds );
24     use org::netfrag::pkgTools qw( mkSnapshotFilename );
25    
26    
27     my $arg1 = shift;
28     die "Please specify item to release on the command-line." if !$arg1;
29    
30     my $item = $arg1;
31     my $snapName = mkSnapshotFilename($item);
32     run_cmd("mkSnapshot.pl $snapName $item", "Trying to make snapshot from '$item': $snapName");
33     run_cmd("upload.pl $snapName", "Trying to upload '$snapName'.");
34    
35     1;
36     __END__

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed