Skip to content

Commit

Permalink
Merge pull request #238 from tegonal-bot/gt/update/tegonal-scripts
Browse files Browse the repository at this point in the history
update files of remote tegonal-scripts to version v4.2.0 via gt
  • Loading branch information
robstoll authored Dec 9, 2024
2 parents d55212a + 61c46d9 commit 8b9269b
Show file tree
Hide file tree
Showing 39 changed files with 112 additions and 104 deletions.
76 changes: 38 additions & 38 deletions .gt/remotes/tegonal-scripts/pulled.tsv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/ci/install-shellcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# function which searches for *.sh files within defined paths (directories or a single *.sh) and
Expand Down
2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/ci/install-shellspec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# function which searches for *.sh files within defined paths (directories or a single *.sh) and
Expand Down
2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/qa/run-shellcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# function which searches for *.sh files within defined paths (directories or a single *.sh) and
Expand Down
2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/qa/run-shellspec-if-installed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# function which calls shellspec in case the command exists and otherwise prints a warning
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under European Union Public License 1.2
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# constants intended to be sourced into a function
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# intended to be sourced into a function which expects params version and nextVersion
Expand Down
4 changes: 2 additions & 2 deletions lib/tegonal-scripts/src/releasing/pre-release-checks-git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Checks that releasing a certain version (creating a corresponding git tag) makes sense: We check:
Expand Down Expand Up @@ -34,7 +34,7 @@
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v4.1.0'
export TEGONAL_SCRIPTS_VERSION='v4.2.0'

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Prepare the next dev cycle for files based on conventions:
Expand Down Expand Up @@ -60,7 +60,7 @@
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v4.1.0'
export TEGONAL_SCRIPTS_VERSION='v4.2.0'

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Prepares the next dev cycle based on conventions:
Expand Down Expand Up @@ -61,7 +61,7 @@
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v4.1.0'
export TEGONAL_SCRIPTS_VERSION='v4.2.0'

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
7 changes: 4 additions & 3 deletions lib/tegonal-scripts/src/releasing/release-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Releasing files based on conventions:
Expand Down Expand Up @@ -49,7 +49,8 @@
# function specialBeforePr(){
# beforePr && echo "imagine some additional work"
# }
# # make the function visible to release-files.sh / not necessary if you sourcerepare-files-next-dev-cycle.sh, see further below
# # make the function visible to release-files.sh / not necessary if you source prepare-files-next-dev-cycle.sh
# # see further below
# declare -fx specialBeforePr
#
# # releases version v0.1.0 using the key 0x945FE615904E5C85 for signing and
Expand All @@ -75,7 +76,7 @@
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v4.1.0'
export TEGONAL_SCRIPTS_VERSION='v4.2.0'

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
14 changes: 10 additions & 4 deletions lib/tegonal-scripts/src/releasing/release-template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Defines a release process template where some conventions are defined:
Expand Down Expand Up @@ -80,7 +80,7 @@
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v4.1.0'
export TEGONAL_SCRIPTS_VERSION='v4.2.0'

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down Expand Up @@ -156,8 +156,14 @@ function releaseTemplate() {

if [[ $prepareOnly != true ]]; then
git add . || return $?
git commit -m "$version" || return $?
git tag "$version" || return $?
git commit --edit -m "$version " || return $?
local signsTags
signsTags=$(git config --get tag.gpgSign)
if [[ $signsTags == true ]]; then
git tag -a "$version" -m "$version" || return $?
else
git tag "$version" || return $?
fi

"$prepareNextDevCycleFn" \
"$versionParamPatternLong" "$nextVersion" \
Expand Down
4 changes: 2 additions & 2 deletions lib/tegonal-scripts/src/releasing/sneak-peek-banner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Shows or hides the sneak peek banner
Expand All @@ -32,7 +32,7 @@
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v4.1.0'
export TEGONAL_SCRIPTS_VERSION='v4.2.0'

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
4 changes: 2 additions & 2 deletions lib/tegonal-scripts/src/releasing/toggle-sections.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Searches for <!-- for main --> ... <!-- for main end --> as well as for
Expand Down Expand Up @@ -36,7 +36,7 @@
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v4.1.0'
export TEGONAL_SCRIPTS_VERSION='v4.2.0'

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
4 changes: 2 additions & 2 deletions lib/tegonal-scripts/src/releasing/update-version-README.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Replaces the version used in download badge(s) and in the sneak peek banner
Expand All @@ -32,7 +32,7 @@
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v4.1.0'
export TEGONAL_SCRIPTS_VERSION='v4.2.0'

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Carry out some common update version steps either during releasing or in preparing the next dev cycle (indicated via
Expand Down Expand Up @@ -56,7 +56,7 @@
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v4.1.0'
export TEGONAL_SCRIPTS_VERSION='v4.2.0'

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Updates the placeholder of all labels named `Affected Version` in issue templates.
Expand All @@ -32,7 +32,7 @@
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v4.1.0'
export TEGONAL_SCRIPTS_VERSION='v4.2.0'

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
4 changes: 2 additions & 2 deletions lib/tegonal-scripts/src/releasing/update-version-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Updates the version which is placed before the `Description` section in bash files (line 8 in this file).
Expand All @@ -32,7 +32,7 @@
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v4.1.0'
export TEGONAL_SCRIPTS_VERSION='v4.2.0'

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# script which should be sourced and sets up variables and functions for the scripts
Expand Down
2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/utility/array-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# utility functions for dealing with arrays
Expand Down
2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/utility/ask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Utility functions to ask the user something via input.
Expand Down
2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/utility/checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Functions to check declarations
Expand Down
2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/utility/cleanups.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Functions which help in doing cleanup in e.g. scripts/cleanup-on-push-to-main.sh
Expand Down
2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/utility/date-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# / __/ -_) _ `/ _ \/ _ \/ _ `/ / It is licensed under Apache License 2.0
# \__/\__/\_, /\___/_//_/\_,_/_/ Please report bugs and contribute back your improvements
# /___/
# Version: v4.1.0
# Version: v4.2.0
#
####### Description #############
#
Expand Down
2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/utility/execute-if-defined.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# Utility functions wrapping printf and prefixing the message with a coloured INFO, WARNING or ERROR.
Expand Down
2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/utility/git-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# / __/ -_) _ `/ _ \/ _ \/ _ `/ / It is licensed under Apache License 2.0
# \__/\__/\_, /\___/_//_/\_,_/_/ Please report bugs and contribute back your improvements
# /___/
# Version: v4.1.0
# Version: v4.2.0
#
####### Description #############
#
Expand Down
2 changes: 1 addition & 1 deletion lib/tegonal-scripts/src/utility/gpg-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# utility functions for dealing with gpg
Expand Down
4 changes: 2 additions & 2 deletions lib/tegonal-scripts/src/utility/http.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
# /___/ Please report bugs and contribute back your improvements
#
# Version: v4.1.0
# Version: v4.2.0
####### Description #############
#
# utility function dealing with fetching files via http
Expand All @@ -29,7 +29,7 @@
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v4.1.0'
export TEGONAL_SCRIPTS_VERSION='v4.2.0'

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
Loading

0 comments on commit 8b9269b

Please sign in to comment.