From fe9193708e29ad3b4c5c32bc1c5e93db943a1961 Mon Sep 17 00:00:00 2001 From: Siak Hooi <73884114+siakhooi@users.noreply.github.com> Date: Sun, 7 Apr 2024 09:41:42 +0000 Subject: [PATCH] add alias sc for shed-contexts --- Features-Changelog.md | 1 + Makefile | 7 +++++++ docs/shed.md | 2 +- release.env | 4 ++-- src/DEBIAN/control | 2 +- src/lib/init.d/shed-init/50-shed-kubeconfig-use | 1 + 6 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Features-Changelog.md b/Features-Changelog.md index b117aba..ad75ec6 100644 --- a/Features-Changelog.md +++ b/Features-Changelog.md @@ -4,6 +4,7 @@ This is the list of features added by release. Bug fixing are excluded. | release | bin | completions | man | config.yaml | | ------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | +| `1.12.0`| shed-contexts (sc) | | | | | `1.11.0`| shed-contexts | | | | | `1.10.0`| | | | .sheds[].kubeconfig[].prompt-name | | `1.9.0` | | | shed-kube-resources | diff --git a/Makefile b/Makefile index c6408ac..4b0d2f3 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,13 @@ info: clean: rm -rf target *.deb *.deb.*sum test/actual-tests +set-version: + scripts/set-version.sh +git-commit-and-push: + scripts/git-commit-and-push.sh +create-release: + scripts/create-release.sh + prepare: . scripts/prepare-environments-in-codespace.sh diff --git a/docs/shed.md b/docs/shed.md index c9df578..a148c45 100644 --- a/docs/shed.md +++ b/docs/shed.md @@ -32,7 +32,7 @@ shed is a program that provides alternate way to run shed programs. | `shed` | `shed help`, `man shed` | | (This doc) | | `shed-use` shedCode | | | [📚 Doc](shed-use.md) | | `shed-kubeconfig-use` kubeconfig-number | | `c0`, `c1`, `c2`, `c3`, `c4` | [📚 Doc](shed-kubeconfig-use.md) | -| `shed-contexts` | `shed contexts` | | ❌ | +| `shed-contexts` | `shed contexts` | `sc` | ❌ | | `shed-kubectl-resources` | `shed kubectl-resources` | | [📚 Doc](shed-kubectl-resources.md) | | `shed-kubectl-apply` | `shed kubectl-apply` | `ka` | ❌ | | `shed-kubectl-delete` | `shed kubectl-delete` | `kd` | ❌ | diff --git a/release.env b/release.env index 933f2b5..3a9ecd2 100755 --- a/release.env +++ b/release.env @@ -1,5 +1,5 @@ #!/bin/sh set -e -RELEASE_VERSION=1.11.0 -RELEASE_TITLE='refactor scripts/set-version.sh' +RELEASE_VERSION=1.12.0 +RELEASE_TITLE='add alias sc for shed-contexts' diff --git a/src/DEBIAN/control b/src/DEBIAN/control index 9a7688a..d280cab 100644 --- a/src/DEBIAN/control +++ b/src/DEBIAN/control @@ -1,5 +1,5 @@ Package: siakhooi-shed -Version: 1.11.0 +Version: 1.12.0 Maintainer: Siak Hooi Depends: bash, coreutils, findutils, grep, vim, man-db, sed, siakhooi-devutils-echo-colors (>= 1.0.0), git, siakhooi-textutils (>= 1.7.0), bash-completion, jq Architecture: amd64 diff --git a/src/lib/init.d/shed-init/50-shed-kubeconfig-use b/src/lib/init.d/shed-init/50-shed-kubeconfig-use index 6155af0..ddb2f55 100755 --- a/src/lib/init.d/shed-init/50-shed-kubeconfig-use +++ b/src/lib/init.d/shed-init/50-shed-kubeconfig-use @@ -52,3 +52,4 @@ alias c1='shed-kubeconfig-use 1' alias c2='shed-kubeconfig-use 2' alias c3='shed-kubeconfig-use 3' alias c4='shed-kubeconfig-use 4' +alias sc='shed-contexts'