diff --git a/README.md b/README.md index b16a342..ad27d7d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # release-plz-action -Action for [release-plz](https://github.com/MarcoIeni/release-plz). +Action for [release-plz](https://github.com/release-plz/release-plz). ## Docs diff --git a/action.yml b/action.yml index d2615f0..0d0f15e 100644 --- a/action.yml +++ b/action.yml @@ -31,7 +31,7 @@ inputs: description: "Token used to publish to the cargo registry" required: false outputs: - # Useful for when https://github.com/MarcoIeni/release-plz/issues/1029 is implemented. + # Useful for when https://github.com/release-plz/release-plz/issues/1029 is implemented. # For now, it just returns an array with `pr` in it. prs: description: "The release PRs opened by release-plz. (Not useful for now. Use `pr` instead)" diff --git a/updater/src/main.rs b/updater/src/main.rs index 7c4839b..a25ce08 100644 --- a/updater/src/main.rs +++ b/updater/src/main.rs @@ -9,7 +9,7 @@ mod pr; mod release; const ACTION_YML_PATH: &str = "../action.yml"; -const RELEASE_PLZ_REPO: &str = "MarcoIeni/release-plz"; +const RELEASE_PLZ_REPO: &str = "release-plz/release-plz"; fn git_pull() { let repo = git_cmd::Repo::new(".").unwrap(); @@ -45,7 +45,7 @@ fn verify_release_plz_tag(release_plz_tag: &str) { panic!("latest tag `{release_plz_tag}` is not a release-plz tag. Probably you just need to wait until the release is published"); } let release_plz_tag = format!("release-plz-v{}", release_plz_tag); - // run: gh release view {tag} --repo MarcoIeni/release-plz --json assets --jq '.assets | length' + // run: gh release view {tag} --repo release-plz/release-plz --json assets --jq '.assets | length' let output = Command::new("gh") .args([ "release", diff --git a/updater/src/pr.rs b/updater/src/pr.rs index 6825b84..6ef1e1a 100644 --- a/updater/src/pr.rs +++ b/updater/src/pr.rs @@ -45,7 +45,7 @@ pub fn create_pr(release_plz_tag: &str) { "create", "--fill", "--repo", - "MarcoIeni/release-plz-action", + "release-plz/action", ]) .output() .unwrap(); diff --git a/updater/src/release.rs b/updater/src/release.rs index 70768d7..b0f1c99 100644 --- a/updater/src/release.rs +++ b/updater/src/release.rs @@ -5,7 +5,7 @@ use next_version::NextVersion; use crate::latest_release; fn next_tag() -> String { - let mut action_tag = latest_release("MarcoIeni/release-plz-action"); + let mut action_tag = latest_release("release-plz/action"); println!("latest tag: {:?}", action_tag); // remove `v` action_tag.remove(0);