File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,15 @@ jobs:
4242
4343 # Use a PAT with read:packages scope
4444 TOKEN="${{ secrets.GHCR_PAT }}"
45- TAGS=$(curl -s -H "Authorization: Bearer $TOKEN" \
46- "https://ghcr.io/v2/${{ github.repository }}/podverse-api/tags/list" | jq -r '.tags[]' | grep "alpha" || true)
45+ TAGS_JSON=$(curl -s -H "Authorization: Bearer $TOKEN" \
46+ "https://ghcr.io/v2/${{ github.repository }}/podverse-api/tags/list")
47+ echo "Raw tags JSON: $TAGS_JSON"
48+ TAGS=$(echo "$TAGS_JSON" | jq -r '.tags[]' | grep "alpha" || true)
49+ echo "Filtered alpha tags: $TAGS"
4750
4851 # Try to get the current alpha version (e.g., 5.1.1-alpha.3)
4952 ALPHA_VERSION=$(echo "$TAGS" | grep "^${BASE_VERSION}-alpha\." | sort -V | tail -n1)
53+ echo "Latest alpha version for base $BASE_VERSION: $ALPHA_VERSION"
5054
5155 if [[ -z "$ALPHA_VERSION" ]]; then
5256 echo "No alpha version found. Starting with: $BASE_VERSION-alpha.0"
You can’t perform that action at this time.
0 commit comments