Skip to content

Commit

Permalink
fix: avoid unbound variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mgred committed Dec 24, 2023
1 parent 2f5c218 commit 917b1ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
set -o errexit -o nounset -o pipefail

NAME=sqids-bazel
TAG=${1}
TAG=${GITHUB_REF_NAME}
VERSION=${TAG:1}
PREFIX="${NAME}-${VERSION}"
ARCHIVE="${NAME}-${TAG}.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
--bazelrc=${{ github.workspace }}/.github/workflows/ci.bazelrc
test //...
- name: Create Artifact
run: .github/workflows/release.sh ${{ env.GITHUB_REF_NAME }}
run: .github/workflows/release.sh
- name: Create Release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 917b1ab

Please sign in to comment.