Skip to content

Commit e460ec2

Browse files
committed
ci(release-prechecks): pass github token correctly to functions
1 parent 0c81d05 commit e460ec2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

scripts/test-goreleaser.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ echo ""
102102
# 3. Required repositories check
103103
print_status "3. 🏗️ Checking Required Repositories..."
104104

105-
check_github_repo "damienbutt/homebrew-tap" "Homebrew formula repository" "GITHUB_TOKEN"
106-
check_github_repo "damienbutt/scoop-bucket" "Scoop bucket repository" "GITHUB_TOKEN"
107-
check_github_repo "damienbutt/winget-pkgs" "Winget package repository" "GITHUB_TOKEN"
108-
check_github_repo "damienbutt/nur" "Nix User Repository (NUR)" "GITHUB_TOKEN"
105+
check_github_repo "damienbutt/homebrew-tap" "Homebrew formula repository" "$GITHUB_TOKEN"
106+
check_github_repo "damienbutt/scoop-bucket" "Scoop bucket repository" "$GITHUB_TOKEN"
107+
check_github_repo "damienbutt/winget-pkgs" "Winget package repository" "$GITHUB_TOKEN"
108+
check_github_repo "damienbutt/nur" "Nix User Repository (NUR)" "$GITHUB_TOKEN"
109109
echo ""
110110

111111
# 4. Check build tools
@@ -136,7 +136,6 @@ if [ ${#MISSING_SECRETS[@]} -eq 0 ] && \
136136
done
137137
fi
138138
else
139-
echo -e "${RED}❌ Missing required prerequisites:${NC}"
140139
print_error "Missing required prerequisites:"
141140

142141
if [ ${#MISSING_SECRETS[@]} -gt 0 ]; then

0 commit comments

Comments
 (0)