Skip to content

Commit

Permalink
fix bug for readonly var on bash
Browse files Browse the repository at this point in the history
  • Loading branch information
huobazi committed Jan 11, 2019
1 parent 1a7e4a6 commit 694a2cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -264,4 +264,6 @@ __pycache__/

dackup*.log
local.config
dist/
dist/

run_release.sh
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ done
readonly github_api_token=$GITHUB_TOKEN
readonly owner="huobazi"
readonly repo="dackup"
readonly tag=RELEASE_VERSION
readonly tag=$RELEASE_VERSION
readonly GH_API="https://api.github.com"
readonly GH_REPO="$GH_API/repos/$owner/$repo"
readonly GH_TAGS="$GH_REPO/releases/tags/$tag"
GH_TAGS="$GH_REPO/releases/tags/$tag"
readonly AUTH="Authorization: token $github_api_token"
readonly WGET_ARGS="--content-disposition --auth-no-challenge --no-cookie"
readonly CURL_ARGS="-LJO#"
Expand Down

0 comments on commit 694a2cb

Please sign in to comment.