We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd9fa7a commit e9f5cd3Copy full SHA for e9f5cd3
.github/workflows/deploy-dev.yml
@@ -139,7 +139,11 @@ jobs:
139
run: |
140
OUTPUT=$(npm exec --no -- semantic-release --no-ci)
141
echo "$OUTPUT"
142
- VERSION=$(echo "$OUTPUT" | grep -oP 'Published (?:pre)?release v\K[0-9.a-z-]+' | head -n 1)
+ VERSION=$(echo "$OUTPUT" | grep -oP 'Published (?:pre)?release v?\K[0-9.a-z.-]+' | head -n 1)
143
+ if [[ -z "$VERSION" ]]; then
144
+ VERSION=$(echo "$OUTPUT" | grep -oP 'The next release version is \K[0-9.a-z.-]+' | head -n 1)
145
+ fi
146
+
147
if [[ -z "$VERSION" ]]; then
148
echo "릴리즈할 새로운 버전이 없습니다. 배포를 건너뜁니다."
149
echo "HAS_VERSION=false" >> $GITHUB_OUTPUT
0 commit comments