Skip to content

Commit

Permalink
Fix origin check in release script (#6800)
Browse files Browse the repository at this point in the history
  • Loading branch information
cPu1 authored Jul 12, 2023
1 parent f101d55 commit 97ec4b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/scripts/tag-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function release_generate() {
}

function check_origin() {
if [[ ! "$(git remote get-url origin)" =~ weaveworks/eksctl(\-private)?(\.git)?$ ]] ; then
if [[ ! "$(git remote get-url origin)" =~ eksctl\-io/eksctl(\-private)?(\.git)?$ ]] ; then
echo "Invalid origin: $(git remote get-url origin)"
exit 3
fi
Expand Down

0 comments on commit 97ec4b2

Please sign in to comment.