Skip to content

Commit da95881

Browse files
committed
v4.8.0 exitIfArgIsNotArrayOrIsNonEmpty, error handling
1 parent d9cacd5 commit da95881

98 files changed

Lines changed: 95 additions & 95 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ body:
1111
attributes:
1212
label: Affected Version
1313
description: What version of scripts are you running?
14-
placeholder: "v4.7.0"
14+
placeholder: "v4.8.0"
1515
validations:
1616
required: true
1717
- type: dropdown

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22

33
______________________________________
4-
I confirm that I have read the [Contributor Agreement v1.1](https://github.com/tegonal/scripts/blob/v4.7.0/.github/Contributor%20Agreement.txt), agree to be bound on them and confirm that my contribution is compliant.
4+
I confirm that I have read the [Contributor Agreement v1.1](https://github.com/tegonal/scripts/blob/v4.8.0/.github/Contributor%20Agreement.txt), agree to be bound on them and confirm that my contribution is compliant.

.gt/remotes/tegonal-gh-commons/pull-hook.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
77
# /___/ Please report bugs and contribute back your improvements
88
#
9-
# Version: v4.8.0-SNAPSHOT
9+
# Version: v4.8.0
1010
###################################
1111
set -euo pipefail
1212
shopt -s inherit_errexit
1313
unset CDPATH
14-
TEGONAL_SCRIPTS_LATEST_VERSION="v4.7.0"
14+
TEGONAL_SCRIPTS_LATEST_VERSION="v4.8.0"
1515

1616
if ! [[ -v dir_of_github_commons ]]; then
1717
dir_of_github_commons="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/../../../lib/tegonal-gh-commons/src"

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<!-- for main -->
2-
3-
[![Download](https://img.shields.io/badge/Download-v4.7.0-%23007ec6)](https://github.com/tegonal/scripts/releases/tag/v4.7.0)
2+
<!--
3+
[![Download](https://img.shields.io/badge/Download-v4.8.0-%23007ec6)](https://github.com/tegonal/scripts/releases/tag/v4.8.0)
44
[![Apache 2.0](https://img.shields.io/badge/%E2%9A%96-Apache%202.0-%230b45a6)](http://opensource.org/licenses/Apache2.0 "License")
55
[![Quality Assurance](https://github.com/tegonal/scripts/actions/workflows/quality-assurance.yml/badge.svg?event=push&branch=main)](https://github.com/tegonal/scripts/actions/workflows/quality-assurance.yml?query=branch%3Amain)
66
[![Newcomers Welcome](https://img.shields.io/badge/%F0%9F%91%8B-Newcomers%20Welcome-blueviolet)](https://github.com/tegonal/scripts/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22 "Ask in discussions for help")
7-
7+
-->
88
<!-- for main end -->
99
<!-- for release -->
10-
<!--
11-
[![Download](https://img.shields.io/badge/Download-v4.7.0-%23007ec6)](https://github.com/tegonal/scripts/releases/tag/v4.7.0)
10+
11+
[![Download](https://img.shields.io/badge/Download-v4.8.0-%23007ec6)](https://github.com/tegonal/scripts/releases/tag/v4.8.0)
1212
[![Apache 2.0](https://img.shields.io/badge/%E2%9A%96-Apache%202.0-%230b45a6)](http://opensource.org/licenses/Apache2.0 "License")
1313
[![Newcomers Welcome](https://img.shields.io/badge/%F0%9F%91%8B-Newcomers%20Welcome-blueviolet)](https://github.com/tegonal/scripts/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22 "Ask in discussions for help")
14-
-->
14+
1515
<!-- for release end -->
1616

1717
# Scripts of Tegonal
@@ -20,13 +20,13 @@ There are scripts which we use over and over again in different projects.
2020
As they might be usable for you as well, we are publishing them here.
2121
Feel free to use it and report bugs if you should find one.
2222

23-
---
23+
<!---
2424
❗ You are taking a *sneak peek* at the next version. It could be that some features you find on this page are not
2525
released yet.
2626
Please have a look at the README of the corresponding release/git tag. Latest
27-
version: [README of v4.7.0](https://github.com/tegonal/scripts/tree/v4.7.0/README.md).
27+
version: [README of v4.8.0](https://github.com/tegonal/scripts/tree/v4.8.0/README.md).
2828
29-
---
29+
--->
3030

3131
**Table of Content**
3232

@@ -39,7 +39,7 @@ version: [README of v4.7.0](https://github.com/tegonal/scripts/tree/v4.7.0/READM
3939

4040
We recommend you pull the scripts with the help of [gt](https://github.com/tegonal/gt).
4141
Alternatively you can
42-
[![Download](https://img.shields.io/badge/Download-v4.7.0-%23007ec6)](https://github.com/tegonal/scripts/releases/tag/v4.7.0)
42+
[![Download](https://img.shields.io/badge/Download-v4.8.0-%23007ec6)](https://github.com/tegonal/scripts/releases/tag/v4.8.0)
4343
the sources.
4444

4545
Following the commands you need to execute to set up tegonal scripts via [gt](https://github.com/tegonal/gt).
@@ -55,7 +55,7 @@ gt pull -r tegonal-scripts -p ...
5555
5656
Or specify a version via `-t` as follows:
5757
```bash
58-
export TEGONAL_SCRIPTS_VERSION="v4.7.0"
58+
export TEGONAL_SCRIPTS_VERSION="v4.8.0"
5959
gt pull -r tegonal-scripts -t "$TEGONAL_SCRIPTS_VERSION" -p ...
6060
```
6161

@@ -65,7 +65,7 @@ Many of the scripts depend on further scripts located in `src/utility`.
6565
Therefore, for simplicity reasons, we recommend you pull `src/setup.sh` and all files in `src/utility` in addition:
6666

6767
```
68-
export TEGONAL_SCRIPTS_VERSION="v4.7.0"
68+
export TEGONAL_SCRIPTS_VERSION="v4.8.0"
6969
gt pull -r tegonal-scripts -t "$TEGONAL_SCRIPTS_VERSION" -p src/setup.sh
7070
gt pull -r tegonal-scripts -t "$TEGONAL_SCRIPTS_VERSION" -p src/utility/
7171
```
@@ -263,7 +263,7 @@ Parameters:
263263
--version prints the version of this script
264264

265265
INFO: Version of deploy.sh is:
266-
v4.8.0-SNAPSHOT
266+
v4.8.0
267267
```
268268

269269
</ci-jelastic-deploy-help>
@@ -414,7 +414,7 @@ Parameters:
414414
--version prints the version of this script
415415
416416
INFO: Version of release-files.sh is:
417-
v4.8.0-SNAPSHOT
417+
v4.8.0
418418
```
419419

420420
</releasing-release-files-help>
@@ -501,7 +501,7 @@ Parameters:
501501
--version prints the version of this script
502502
503503
INFO: Version of prepare-files-next-dev-cycle.sh is:
504-
v4.8.0-SNAPSHOT
504+
v4.8.0
505505
```
506506

507507
</releasing-prepare-files-next-dev-cycle-help>
@@ -602,7 +602,7 @@ Parameters:
602602
--version prints the version of this script
603603
604604
INFO: Version of release-template.sh is:
605-
v4.8.0-SNAPSHOT
605+
v4.8.0
606606
```
607607

608608
</releasing-release-template-help>
@@ -685,7 +685,7 @@ Parameters:
685685
--version prints the version of this script
686686
687687
INFO: Version of prepare-next-dev-cycle-template.sh is:
688-
v4.8.0-SNAPSHOT
688+
v4.8.0
689689
```
690690

691691
</releasing-prepare-next-dev-cycle-template-help>
@@ -760,7 +760,7 @@ Parameters:
760760
--version prints the version of this script
761761
762762
INFO: Version of pre-release-checks-git.sh is:
763-
v4.8.0-SNAPSHOT
763+
v4.8.0
764764
```
765765

766766
</releasing-pre-release-checks-git-help>
@@ -861,7 +861,7 @@ Parameters:
861861
--version prints the version of this script
862862
863863
INFO: Version of update-version-common-steps.sh is:
864-
v4.8.0-SNAPSHOT
864+
v4.8.0
865865
```
866866

867867
</releasing-update-version-common-steps-help>
@@ -949,7 +949,7 @@ update-version-README.sh -v v0.1.0 -f ./docs/index.md
949949
update-version-README.sh -v v0.1.0 -p "(VERSION=['\"])[^'\"]+(['\"])"
950950
951951
INFO: Version of update-version-README.sh is:
952-
v4.8.0-SNAPSHOT
952+
v4.8.0
953953
```
954954

955955
</releasing-update-version-README-help>
@@ -1008,7 +1008,7 @@ update-version-scripts.sh -v v0.1.0 -d ./scripts
10081008
update-version-scripts.sh -v v0.1.0 -p "(VERSION=['\"])[^'\"]+(['\"])"
10091009
10101010
INFO: Version of update-version-scripts.sh is:
1011-
v4.8.0-SNAPSHOT
1011+
v4.8.0
10121012
```
10131013

10141014
</releasing-update-version-scripts-help>
@@ -1067,7 +1067,7 @@ update-version-issue-templates.sh -v v0.1.0 -d ./tpls
10671067
update-version-issue-templates.sh -v v0.1.0 -p "(VERSION=['\"])[^'\"]+(['\"])"
10681068
10691069
INFO: Version of update-version-issue-templates.sh is:
1070-
v4.8.0-SNAPSHOT
1070+
v4.8.0
10711071
```
10721072

10731073
</releasing-update-version-issue-templates-help>
@@ -1140,7 +1140,7 @@ toggle-sections.sh -c main
11401140
toggle-sections.sh -c release -f ./docs/index.md
11411141
11421142
INFO: Version of toggle-sections.sh is:
1143-
v4.8.0-SNAPSHOT
1143+
v4.8.0
11441144
```
11451145

11461146
</releasing-toggle-sections-help>
@@ -1195,7 +1195,7 @@ sneak-peek-banner.sh -c hide
11951195
sneak-peek-banner.sh -c show -f ./docs/index.md
11961196
11971197
INFO: Version of sneak-peek-banner.sh is:
1198-
v4.8.0-SNAPSHOT
1198+
v4.8.0
11991199
```
12001200

12011201
</releasing-sneak-peek-banner-help>

scripts/before-pr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
77
# /___/ Please report bugs and contribute back your improvements
88
#
9-
# Version: v4.8.0-SNAPSHOT
9+
# Version: v4.8.0
1010
###################################
1111
set -euo pipefail
1212
shopt -s inherit_errexit || { echo >&2 "please update to bash 5, see errors above" && exit 1; }

scripts/check-in-bug-template.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
77
# /___/ Please report bugs and contribute back your improvements
88
#
9-
# Version: v4.8.0-SNAPSHOT
9+
# Version: v4.8.0
1010
###################################
1111
set -euo pipefail
1212
shopt -s inherit_errexit || { echo >&2 "please update to bash 5, see errors above" && exit 1; }

scripts/cleanup-on-push-to-main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
77
# /___/ Please report bugs and contribute back your improvements
88
#
9-
# Version: v4.8.0-SNAPSHOT
9+
# Version: v4.8.0
1010
###################################
1111
set -euo pipefail
1212
shopt -s inherit_errexit || { echo >&2 "please update to bash 5, see errors above" && exit 1; }

scripts/prepare-next-dev-cycle.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
77
# /___/ Please report bugs and contribute back your improvements
88
#
9-
# Version: v4.8.0-SNAPSHOT
9+
# Version: v4.8.0
1010
###################################
1111
set -euo pipefail
1212
shopt -s inherit_errexit || { echo >&2 "please update to bash 5, see errors above" && exit 1; }
1313
unset CDPATH
14-
export TEGONAL_SCRIPTS_VERSION='v4.8.0-SNAPSHOT'
14+
export TEGONAL_SCRIPTS_VERSION='v4.8.0'
1515

1616
if ! [[ -v scriptsDir ]]; then
1717
scriptsDir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)"

scripts/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
77
# /___/ Please report bugs and contribute back your improvements
88
#
9-
# Version: v4.8.0-SNAPSHOT
9+
# Version: v4.8.0
1010
###################################
1111
set -euo pipefail
1212
shopt -s inherit_errexit || { echo >&2 "please update to bash 5, see errors above" && exit 1; }
1313
unset CDPATH
14-
export TEGONAL_SCRIPTS_VERSION='v4.8.0-SNAPSHOT'
14+
export TEGONAL_SCRIPTS_VERSION='v4.8.0'
1515

1616
if ! [[ -v scriptsDir ]]; then
1717
scriptsDir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)"

scripts/run-shellcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
77
# /___/ Please report bugs and contribute back your improvements
88
#
9-
# Version: v4.8.0-SNAPSHOT
9+
# Version: v4.8.0
1010
###################################
1111
set -euo pipefail
1212
shopt -s inherit_errexit || { echo >&2 "please update to bash 5, see errors above" && exit 1; }

0 commit comments

Comments
 (0)