Skip to content

Commit

Permalink
debug: add some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed May 16, 2024
1 parent e36c469 commit 8afd3d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/bump-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ jobs:
- name: Compute Next Tag
run: |
git_next_tag="$(docker run --rm -e GITHUB_VERSION_INPUT -e GITHUB_VERSION_BUMP ghcr.io/${{ github.repository }}:${{ github.sha }})"
if [[ -z "$git_next_tag" ]]; then
echo "Failed to compute next tag"
docker run --rm -e GITHUB_VERSION_INPUT -e GITHUB_VERSION_BUMP ghcr.io/${{ github.repository }}:${{ github.sha }})
exit 1
fi
echo "GIT_NEXT_TAG=$git_next_tag" >>"$GITHUB_OUTPUT"
env:
GITHUB_VERSION_INPUT: ${{ steps.latest-tag.outputs.GIT_LATEST_TAG }}
Expand Down

0 comments on commit 8afd3d9

Please sign in to comment.