summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.bash
diff options
context:
space:
mode:
authorJochen Schmitt <Jochen@herr-schmitt.de>2010-09-21 21:20:13 +0200
committerJesse Keating <jkeating@redhat.com>2010-09-23 13:03:49 +0200
commit34a1d857659b5aa0456a33a603f12060f45704ab (patch)
treec014bd4d3ac5b7fc4064948d3247ceb3cb9dd121 /src/fedpkg.bash
parentbec2d5bd707a43bd6fb47e3b9a28cbb2db162c91 (diff)
downloadfedora-packager-34a1d857659b5aa0456a33a603f12060f45704ab.tar.gz
fedora-packager-34a1d857659b5aa0456a33a603f12060f45704ab.tar.xz
fedora-packager-34a1d857659b5aa0456a33a603f12060f45704ab.zip
Implementing a retire command
Diffstat (limited to 'src/fedpkg.bash')
-rw-r--r--src/fedpkg.bash8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fedpkg.bash b/src/fedpkg.bash
index 8bf97ec..c0f3fca 100644
--- a/src/fedpkg.bash
+++ b/src/fedpkg.bash
@@ -36,8 +36,8 @@ _fedpkg()
local options="--help -v -q"
local options_value="--user --path"
local commands="build chain-build ci clean clog clone co commit compile diff gimmespec giturl help \
- import install lint local mockbuild new new-sources patch prep pull push scratch-build sources srpm \
- switch-branch tag tag-request unused-patches update upload verrel"
+ import install lint local mockbuild new new-sources patch prep pull push retire scratch-build sources \
+ srpm switch-branch tag tag-request unused-patches update upload verrel"
# parse main options and get command
@@ -165,6 +165,10 @@ _fedpkg()
tag-request)
options_string="--desc --build"
;;
+ retire)
+ options="--push"
+ after_more=true
+ ;;
srpm)
options="--md5"
;;