Skip to content

Commit

Permalink
severity=warning / fix build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
led0nk committed Apr 18, 2024
1 parent 88aeb7f commit 0c1d8db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/shellcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ jobs:
SHELLCHECK_OPTS: -x -e SC2059 -e SC2086
with:
scandir: '.github/workflows/scripts'
severity: warning
- name: shellcheck buildscripts
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -x -e SC2059 -e SC2086
with:
scandir: 'internal/buildscripts'
severity: warning
2 changes: 1 addition & 1 deletion internal/buildscripts/packaging/fpm/deb/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ARCH="${2:-"amd64"}"
OUTPUT_DIR="${3:-"$REPO_DIR/dist/"}"
OTELCONTRIBCOL_PATH="$REPO_DIR/bin/otelcontribcol_linux_$ARCH"

."$SCRIPT_DIR"/../common.sh
. "$SCRIPT_DIR"/../common.sh

if [[ -z "$VERSION" ]]; then
latest_tag="$( git describe --abbrev=0 --match v[0-9]* )"
Expand Down
2 changes: 1 addition & 1 deletion internal/buildscripts/packaging/fpm/rpm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ARCH="${2:-"amd64"}"
OUTPUT_DIR="${3:-"$REPO_DIR/dist/"}"
OTELCONTRIBCOL_PATH="$REPO_DIR/bin/otelcontribcol_linux_$ARCH"

."$SCRIPT_DIR"/../common.sh
. "$SCRIPT_DIR"/../common.sh

if [[ -z "$VERSION" ]]; then
latest_tag="$( git describe --abbrev=0 --match v[0-9]* )"
Expand Down

0 comments on commit 0c1d8db

Please sign in to comment.