From 58bd066ed8131c9732519234340f4b9adf5500d9 Mon Sep 17 00:00:00 2001 From: Alexander Korolev Date: Fri, 29 Mar 2024 12:42:51 +0100 Subject: [PATCH] Keycloak Admin REST API v22.0.301 (#89) --- Cargo.toml | 2 +- update.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index dc6c1bc..e9706cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "keycloak" -version = "22.0.300" +version = "22.0.301" authors = ["Alexander Korolev "] edition = "2021" categories = ["api-bindings", "asynchronous"] diff --git a/update.ts b/update.ts index 72d5baa..51c1466 100644 --- a/update.ts +++ b/update.ts @@ -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", @@ -569,12 +573,15 @@ class Git { } async developIssue(issue: Issue): Promise { + 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) {