summaryrefslogtreecommitdiffstats
path: root/src/release.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/release.rs')
-rw-r--r--src/release.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/release.rs b/src/release.rs
index 49dd5b5..6512014 100644
--- a/src/release.rs
+++ b/src/release.rs
@@ -126,7 +126,12 @@ pub enum AssetCommand {
impl ReleaseCommand {
pub async fn run(self, keys: &mut KeyInfo, remote_name: Option<&str>) -> eyre::Result<()> {
- let repo = RepoInfo::get_current(remote_name, self.repo.as_ref(), self.remote.as_deref())?;
+ let repo = RepoInfo::get_current(
+ remote_name,
+ self.repo.as_ref(),
+ self.remote.as_deref(),
+ &keys,
+ )?;
let api = keys.get_api(repo.host_url()).await?;
let repo = repo
.name()