refactor(scripts): remove redundant verbose flag handling

- Eliminate unused VERBOSE flag exports in action workflows
- Adjust curl commands to consistently output responses instead of suppressing
- Simplify script logic by removing unnecessary verbosity checks
This commit is contained in:
2025-05-26 17:02:07 +02:00
parent b5a142b48b
commit fb70bee551
3 changed files with 2 additions and 4 deletions

View File

@@ -40,7 +40,6 @@ runs:
- name: Fetch release from Gitea
shell: bash
run: |
export VERBOSE="true"
"${{ github.action_path }}/scripts/fetch-gitea-release.sh"
env:
GITEA_TOKEN: ${{ inputs.gitea_token }}
@@ -53,7 +52,6 @@ runs:
shell: bash
run: |
TAG_NAME=${{ inputs.tag_name }}
export VERBOSE="true"
export TAG="$TAG_NAME"
export WORKDIR="$GT_RSA_RELEASE_DIR"
export GITHUB_OWNER="${{ inputs.github_owner }}"

View File

@@ -15,7 +15,7 @@ curl_exec() {
if [[ "$VERBOSE" == "true" ]]; then
curl -v "$@"
else
curl -s "$@" > /dev/null
curl -s "$@"
fi
}

View File

@@ -16,7 +16,7 @@ curl_exec() {
if [[ "$VERBOSE" == "true" ]]; then
curl -v "$@"
else
curl -s "$@" > /dev/null
curl -s "$@"
fi
}