We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfe0193 commit a0b56c0Copy full SHA for a0b56c0
.github/workflows/sync-provider.yml
@@ -57,8 +57,13 @@ jobs:
57
TAG="${{ github.event.release.tag_name }}"
58
fi
59
if [[ -z "$TAG" ]]; then
60
- echo "Error: Could not determine tag name from event." >&2
61
- exit 1
+ if [[ "$DRY_RUN" == "true" ]]; then
+ TAG="v0.0.0-dryrun"
62
+ echo "DRY-RUN: Using placeholder tag $TAG" >&2
63
+ else
64
+ echo "Error: Could not determine tag name from event." >&2
65
+ exit 1
66
+ fi
67
68
VERSION_FROM_TAG="${TAG#v}"
69
VERSION_RB=$(ruby -e 'print File.read("lib/log_struct/version.rb")[/VERSION\s*=\s*"([^"]+)"/,1]')
0 commit comments