Skip to content

Commit 91c46a6

Browse files
Update release.yml
Added new exception for x-antora tags
1 parent 387752a commit 91c46a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ jobs:
136136
- name: Get OSMP version
137137
working-directory: dist/osi-sensor-model-packaging
138138
run: |
139-
ls
140-
OSMP_VERSION="$(git describe --tags --exclude 'v*.*.*-antora' | sed 's/^v//')"
139+
OSMP_VERSION="$(git describe --tags --exclude 'v*.*.*-antora' --exclude 'x-antora-v*.*.*'| sed 's/^v//')"
141140
echo "OSMP_VERSION=$OSMP_VERSION" >> $GITHUB_ENV
142141
- name: Create README
143142
working-directory: dist

0 commit comments

Comments
 (0)