Skip to content

Commit

Permalink
[TASK] Allow to publish (-PRE)-(ALPHA|BETA|RC) releases to TYPO3 TER
Browse files Browse the repository at this point in the history
Ralates: #3072
  • Loading branch information
dkd-kaehm committed Dec 2, 2021
1 parent 126584e commit e92e280
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ jobs:
-
name: Check tag
run: |
if ! [[ ${{ github.ref }} =~ ^refs/tags/[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}$ ]]; then
TAGGED_VERSION=$(echo "${{ github.ref }}" | awk '{print tolower($0)}')
if ! [[ "$TAGGED_VERSION" =~ ^refs/tags/[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}((-pre)?-(alpha|beta|rc)(-?[0-9]{1,3})?)?$ ]]; then
exit 1
fi
-
Expand Down Expand Up @@ -260,4 +261,8 @@ jobs:
fi
echo "Following message will be printed in TER as release description:"
echo -e "$TER_COMMENT"
if ! composer extension-build; then
echo "Something went wrong on bulding EXT:solr for NON-Composer mode."
exit 1
fi
php ~/.composer/vendor/bin/tailor ter:publish --comment "$TER_COMMENT" "$RELEASE_VERSION"

0 comments on commit e92e280

Please sign in to comment.