Skip to content

Commit

Permalink
update zip and action wt path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
f-peverali committed Oct 9, 2024
1 parent c169a08 commit a22dcf5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unzip_and_process_IG_for_archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
run: |
# Bestimme die ZIP-Datei und enpacke sie in einen Versionsordner namens new-IG
ZIP_FILE=$(ls IG/isik-*.zip)
unzip "$ZIP_FILE" -d new-IG
unzip "$ZIP_FILE" -d IG/new-IG
#lese die Versionsnummer aus der HTML-Datei "ImplementationGuide-markdown-Einfuehrung.html" im neuen Ordner
VERSION=$(grep -oP '(?<=Version: )\d+\.\d+\.\d+' IG/new-IG/ImplementationGuide-markdown-Einfuehrung.html)
#benenne den Ordner um in die Versionsnummer und gib die Versionsnummer aus
mv new-IG "$VERSION"
mv IG/new-IG IG/"$VERSION"
#falls die Versionsnummer nicht gefunden wird, gebe eine Fehlermeldung aus und exitiere
if [ -z "$VERSION" ]; then
if [ -z IG/"$VERSION" ]; then
echo "Version number not found in ImplementationGuide-markdown-Einfuehrung.html"
exit 1
fi
Expand Down
Binary file added IG/[email protected]
Binary file not shown.
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ <h1 class="title">ISiK Implementierungsleitfäden</h1><h1>
<strong>Basismodul Stufe 4</strong></td>
</tr>
<tr>
<tr>
<td>25.06.2024</td>
<td>
<a href="https://gematik.github.io/spec-ISiK-Basismodul/IG/4.0.0/ImplementationGuide-markdown-Einfuehrung.html">4.0.0</a>
</td>
<td>Release TEST TEST TEST 4.0.0</td>
<td>4.0.0</td>
</tr>
<tr>
<td>25.06.2024</td>
<td>
Expand Down

0 comments on commit a22dcf5

Please sign in to comment.