Skip to content

Commit

Permalink
[WIP] test github workflow for ter release
Browse files Browse the repository at this point in the history
  • Loading branch information
kanow committed Dec 22, 2024
1 parent 7f01107 commit 5e7f128
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/ter-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
id: get-comment
run: |
cd ${GITHUB_WORKSPACE}
readonly local comment=$(git tag -n10 -l ${{ env.version }} | sed "s/^[0-9.]*[ ]*//g" | sed "/^$/d")
comment=$(git tag -n10 -l ${{ env.version }} | sed "s/^[0-9.]*[ ]*//g" | sed "/^$/d")
echo "Tag comment: $comment" # Debugging line
if [[ -z "${comment// }" ]]; then
echo "comment=Released version ${{ env.version }} of ${{ env.TYPO3_EXTENSION_KEY }}" >> $GITHUB_ENV
Expand All @@ -41,15 +42,15 @@ jobs:
} >> "$GITHUB_ENV"
fi
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: intl, mbstring, json, zip, curl
tools: composer:v2

- name: Install tailor
run: composer global require typo3/tailor --prefer-dist --no-progress --no-suggest

- name: Publish to TER
run: php ~/.composer/vendor/bin/tailor ter:publish --comment "${{ env.comment }}" ${{ env.version }}
# - name: Setup PHP
# uses: shivammathur/setup-php@v2
# with:
# php-version: 7.4
# extensions: intl, mbstring, json, zip, curl
# tools: composer:v2
#
# - name: Install tailor
# run: composer global require typo3/tailor --prefer-dist --no-progress --no-suggest
#
# - name: Publish to TER
# run: php ~/.composer/vendor/bin/tailor ter:publish --comment "${{ env.comment }}" ${{ env.version }}

0 comments on commit 5e7f128

Please sign in to comment.