Skip to content

Commit

Permalink
Fix unbound variable in release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lvreynoso committed Aug 17, 2023
1 parent 93161f1 commit 51085e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if ! [[ -d "$(dirname $0)/../workflows/$WORKFLOW_NAME" ]]; then
exit 1
fi

# OLD_TAG=$(git describe --tags --match "${WORKFLOW_NAME}-v*" || echo "${WORKFLOW_NAME}-v0.0.0")
OLD_TAG=$(git describe --tags --match "${WORKFLOW_NAME}-v*" || echo "${WORKFLOW_NAME}-v0.0.0")
# if [[ $RELEASE_TYPE == major ]]; then
# TAG=$(echo "$OLD_TAG" | perl -ne '/(.+)-v(\d+)\.(\d+)\.(\d+)/; print "$1-v@{[$2+1]}.0.0"')
# elif [[ $RELEASE_TYPE == minor ]]; then
Expand Down

0 comments on commit 51085e2

Please sign in to comment.