Skip to content

Commit 4c18492

Browse files
Update release.yml
Changed version tag for OSMP from interface tag to osmp tag Signed-off-by: Philip Windecker <philip.windecker@avenyr.de>
1 parent 0ece28a commit 4c18492

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ jobs:
128128
# ls
129129
# mv antora/site/ dist/ASAM_OSI_Standard_${{needs.setup.outputs.output1}}/
130130
# Create the mandatory README.txt file for the deliverables package. The functions and variables declared below will create a readme file with a defined header, surrounded by a box made of "*".
131+
- name: Get OSMP version
132+
working-directoy: dist/osi-sensor-model-packaging
133+
run: |
134+
OSMP_VERSION="$(git describe --tags --exclude 'v*.*.*-antora' | sed 's/^v//')"
131135
- name: Create README
132136
working-directory: dist
133137
run: |
@@ -148,7 +152,7 @@ jobs:
148152
149153
- ASAM_OSI_Standard_${{needs.setup.outputs.output1}}
150154
- open_simulation_interface_${{needs.setup.outputs.output1}}
151-
- osi-sensor-model-packaging_${{needs.setup.outputs.output1}}" >> "README.txt"
155+
- osi-sensor-model-packaging_${OSMP_VERSION}" >> "README.txt"
152156
cat README.txt
153157
# Package all collected deliverables
154158
- name: Zip Release

0 commit comments

Comments
 (0)