Skip to content

Commit

Permalink
fix: npmrc reg should end with slash
Browse files Browse the repository at this point in the history
  • Loading branch information
loispostula committed Mar 28, 2024
1 parent 11060ac commit afe0696
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-fslabscli"
version = "1.1.7"
version = "1.1.8"
edition = "2021"
authors = ["FSLABS DevOps Gods"]
repository = "https://github.com/ForesightMiningSoftwareCorporation/fslabsci"
Expand Down
2 changes: 1 addition & 1 deletion src/commands/generate_workflow/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ pub async fn generate_workflow(
let github_secret_key = scope.clone().replace('.', "_").to_ascii_uppercase();
let run = format!(
r#"
echo "@{scope}:registry=https://npm.pkg.github.com >> .npmrc"
echo "@{scope}:registry=https://npm.pkg.github.com/ >> .npmrc"
echo "//npm.pkg.github.com/:_authToken=${{{{ secrets.NPM_{github_secret_key}_TOKEN }}}} >> .npmrc"
"#
);
Expand Down

0 comments on commit afe0696

Please sign in to comment.