git-stack-cli 2.1.3 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/index.js +1 -1
- package/package.json +1 -1
- package/scripts/release-brew.ts +2 -0
package/dist/js/index.js
CHANGED
|
@@ -45640,7 +45640,7 @@ var yargs_default = Yargs;
|
|
|
45640
45640
|
|
|
45641
45641
|
// src/command.ts
|
|
45642
45642
|
async function command2() {
|
|
45643
|
-
return yargs_default(hideBin(process.argv)).usage("Usage: git stack [command] [options]").command("$0", "Sync commit ranges to Github", (yargs) => yargs.options(DefaultOptions)).command("fixup [commit]", "Amend staged changes to a specific commit in history", (yargs) => yargs.positional("commit", FixupOptions.commit)).command("log [args...]", "Print an abbreviated log with numbered commits, useful for git stack fixup", (yargs) => yargs.strict(false)).command("rebase", "Update local branch via rebase with latest changes from origin master branch", (yargs) => yargs).option("verbose", GlobalOptions.verbose).wrap(123).strict().version("2.1.
|
|
45643
|
+
return yargs_default(hideBin(process.argv)).usage("Usage: git stack [command] [options]").command("$0", "Sync commit ranges to Github", (yargs) => yargs.options(DefaultOptions)).command("fixup [commit]", "Amend staged changes to a specific commit in history", (yargs) => yargs.positional("commit", FixupOptions.commit)).command("log [args...]", "Print an abbreviated log with numbered commits, useful for git stack fixup", (yargs) => yargs.strict(false)).command("rebase", "Update local branch via rebase with latest changes from origin master branch", (yargs) => yargs).option("verbose", GlobalOptions.verbose).wrap(123).strict().version("2.1.5").showHidden("show-hidden", "Show hidden options via `git stack help --show-hidden`").help("help", "Show usage via `git stack help`").argv;
|
|
45644
45644
|
}
|
|
45645
45645
|
var GlobalOptions = {
|
|
45646
45646
|
verbose: {
|
package/package.json
CHANGED
package/scripts/release-brew.ts
CHANGED
|
@@ -64,6 +64,8 @@ console.debug({ linux_x64_asset, macos_x64_asset, macos_arm64_asset, win_x64_ass
|
|
|
64
64
|
const re_token = (name: string) => new RegExp(`{{ ${name} }}`, "g");
|
|
65
65
|
|
|
66
66
|
process.chdir(HOMEBREW_DIR);
|
|
67
|
+
await spawn.sync(`git reset --hard`);
|
|
68
|
+
await spawn.sync(`git checkout master`);
|
|
67
69
|
|
|
68
70
|
// homebrew tap formula (binaries)
|
|
69
71
|
|