summaryrefslogtreecommitdiffstats
path: root/rust/src/identifiers.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-11-04 11:56:17 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-11-04 11:59:05 -0800
commit0ff42081a71d8f878feedca236fa8ffe282fec3a (patch)
treeffef2e0d6aaa329da9eaa1f35f20bf03347ca887 /rust/src/identifiers.rs
parentef7de452e81a8ccf70c1fa229f80b92bc65c46f0 (diff)
downloadfatcat-0ff42081a71d8f878feedca236fa8ffe282fec3a.tar.gz
fatcat-0ff42081a71d8f878feedca236fa8ffe282fec3a.zip
add 'component' as a release_type
Diffstat (limited to 'rust/src/identifiers.rs')
-rw-r--r--rust/src/identifiers.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/src/identifiers.rs b/rust/src/identifiers.rs
index 597af338..180dc43b 100644
--- a/rust/src/identifiers.rs
+++ b/rust/src/identifiers.rs
@@ -540,6 +540,7 @@ pub fn check_release_type(raw: &str) -> Result<()> {
"letter",
"stub",
"retraction",
+ "component",
];
for good in valid_types {
if raw == good {