Skip to content

Commit

Permalink
chore: update GitHub organization (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoieni authored Nov 21, 2024
1 parent f0fdfff commit 635864a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
4 changes: 2 additions & 2 deletions updater/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion updater/src/pr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub fn create_pr(release_plz_tag: &str) {
"create",
"--fill",
"--repo",
"MarcoIeni/release-plz-action",
"release-plz/action",
])
.output()
.unwrap();
Expand Down
2 changes: 1 addition & 1 deletion updater/src/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 635864a

Please sign in to comment.