diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-02-09 00:50:15 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-02-12 12:35:14 +0100 |
commit | 9ab0d94578af8e79b64809b07346db89a07b7f61 (patch) | |
tree | 0b0e787929e103432b1739711d4004fb8f07b8aa /checkpkg.in | |
parent | 5e8cb67603a10a00ddc6f3d124a120513094d7f6 (diff) | |
download | devtools-9ab0d94578af8e79b64809b07346db89a07b7f61.tar.gz devtools-9ab0d94578af8e79b64809b07346db89a07b7f61.tar.xz |
archrelease: Validate tags before releasing
Compare every single tag with a list of valid tags. This prevents broken
releases which occurred whenever someone made a typo on the command
line:
$ ./archrelease community i686
==> ERROR: archrelease: Invalid tag: "community" (use -f to force release)
Since the list is used in the ZSH completion as well, break it out to a
separate file and move it to "lib/". Also, add a command line parameter
to allow for releasing to an unknown repository when necessary.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'checkpkg.in')
0 files changed, 0 insertions, 0 deletions