Skip to content

Commit

Permalink
Properly splice mod version
Browse files Browse the repository at this point in the history
  • Loading branch information
Swedz committed Sep 7, 2024
1 parent 4e4d023 commit c0ee9e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
} >> $GITHUB_ENV
- name: Generate variables using release data
run: |
echo "MOD_VERSION=$(echo "$GITHUB_RELEASE_TAG_NAME" | sed -E 's/-[0-9]+\.[0-9]+$//')" >> $GITHUB_ENV
echo "MOD_VERSION=$(echo "$GITHUB_RELEASE_TAG_NAME" | sed -E 's/-[^-]+$//')" >> $GITHUB_ENV
echo "RELEASE_TYPE=$(echo "$GITHUB_RELEASE_TAG_NAME" | grep -oE '(alpha|beta)' || echo "release")" >> $GITHUB_ENV
{
echo "MOD_CHANGELOG_TRIMMED<<EOF"
Expand Down

0 comments on commit c0ee9e8

Please sign in to comment.