Skip to content

Commit 270ec96

Browse files
committed
Fix workflow tag pattern to match v*-scripts
1 parent bf9e8ad commit 270ec96

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/rpgxp-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
IGNORED_PATHS="README.md|LICENSE|images/|\.github/|\.gitattributes|\.gitignore"
2727
2828
# ── Letzten Release-Tag ermitteln
29-
LATEST_TAG=$(git tag -l 'v*-rpgxp-scripts' --sort=-v:refname | head -n1 || true)
29+
LATEST_TAG=$(git tag -l 'v*-scripts' --sort=-v:refname | head -n1 || true)
3030
3131
if [ -z "$LATEST_TAG" ]; then
3232
IS_FIRST_RELEASE=true
@@ -45,7 +45,7 @@ jobs:
4545
fi
4646
4747
if [ "$IS_FIRST_RELEASE" = false ]; then
48-
CURRENT=$(echo "$LATEST_TAG" | sed 's/^v//' | sed 's/-rpgxp-scripts$//')
48+
CURRENT=$(echo "$LATEST_TAG" | sed 's/^v//' | sed 's/-scripts$//')
4949
MAJOR=$(echo "$CURRENT" | cut -d. -f1)
5050
MINOR=$(echo "$CURRENT" | cut -d. -f2)
5151
PATCH=$(echo "$CURRENT" | cut -d. -f3)
@@ -74,7 +74,7 @@ jobs:
7474
fi
7575
fi
7676
77-
TAG_NAME="${NEW_VERSION}-rpgxp-scripts"
77+
TAG_NAME="${NEW_VERSION}-scripts"
7878
7979
if [ -z "$DIFF" ]; then
8080
echo "No script changes detected. Skipping release."

0 commit comments

Comments
 (0)