File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 id : tag
3636 shell : bash
3737 run : |
38- # Letzten Tag suchen, der dem Schema vX.X.X entspricht
39- LATEST_TAG=$(git tag --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+' | head -n 1)
38+ # Letzten Tag suchen, der dem Schema vX.X.X entspricht (|| true verhindert Abbruch, wenn kein Tag existiert)
39+ LATEST_TAG=$(git tag --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+' | head -n 1 || true )
4040
4141 if [ -z "$LATEST_TAG" ]; then
4242 LATEST_TAG="v1.0.0"
7474 tag_name : ${{ steps.tag.outputs.tag_name }}
7575 name : Automated Snapshot ${{ steps.tag.outputs.tag_name }}
7676 body : |
77- Automated snapshot of different productive smarthome systems scripts.
77+ Automated snapshot of different productive smarthome system scripts.
7878 Version incremented automatically.
7979 files : smarthome_scripts_${{ steps.tag.outputs.tag_name }}.zip
You can’t perform that action at this time.
0 commit comments