Skip to content

Commit

Permalink
shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
francescobianco committed Jun 26, 2024
1 parent 9ec6269 commit da8c3a4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/tasks/publish.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@

exec_publish() {
local bin_name=${MUSH_PACKAGE_NAME}
local bin_file=/usr/local/bin/${bin_name}
local final_file=target/release/${bin_name}
local package_name="${MUSH_PACKAGE_NAME}"
local release_tag="${MUSH_PACKAGE_VERSION}"
local bin_name
local bin_file
local final_file
local package_name
local release_tag

bin_name=${MUSH_PACKAGE_NAME}
bin_file=/usr/local/bin/${bin_name}
final_file=target/release/${bin_name}
package_name="${MUSH_PACKAGE_NAME}"
release_tag="${MUSH_PACKAGE_VERSION}"

MUSH_GITHUB_REPOSITORY="$(github_get_repository)"

Expand Down
1 change: 1 addition & 0 deletions target/release/packages/.shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
disable=SC2034

0 comments on commit da8c3a4

Please sign in to comment.