Skip to content

Commit

Permalink
Keycloak Admin REST API v22.0.301 (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
kilork committed Mar 29, 2024
1 parent 499602f commit 58bd066
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "keycloak"
version = "22.0.300"
version = "22.0.301"
authors = ["Alexander Korolev <alexander.korolev.germany@gmail.com>"]
edition = "2021"
categories = ["api-bindings", "asynchronous"]
Expand Down
7 changes: 7 additions & 0 deletions update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,10 @@ class Git {
await this.gitCommand(["push", ...args]);
}

async stash(args: string[] = []) {
await this.gitCommand(["stash", ...args]);
}

async createRelease(options: { title: string; version: string }) {
await this.ghCommand([
"release",
Expand Down Expand Up @@ -569,12 +573,15 @@ class Git {
}

async developIssue(issue: Issue): Promise<void> {
await this.push();
await this.stash();
await this.ghCommand([
"issue",
"develop",
issue.number.toString(),
"--checkout",
]);
await this.stash(["pop"]);
}

async setIssueMilestone(issue: Issue, milestoneVersion: InternalVersion) {
Expand Down

0 comments on commit 58bd066

Please sign in to comment.