[Release] Ready to release 1.0.0 #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TER release | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
ter-release: | |
name: TER release | |
runs-on: ubuntu-latest | |
env: | |
REPOSITORY_URL: ${{ secrets.REPOSITORY_URL }} | |
TYPO3_EXTENSION_KEY: ${{ secrets.TYPO3_EXTENSION_KEY }} | |
TYPO3_API_TOKEN: ${{ secrets.TYPO3_API_TOKEN }} | |
TYPO3_API_USERNAME: ${{ secrets.TYPO3_API_USERNAME }} | |
TYPO3_API_PASSWORD: ${{ secrets.TYPO3_API_PASSWORD }} | |
TYPO3_T3TERMINAL_PRODUCT: ${{ secrets.TYPO3_T3TERMINAL_PRODUCT }} | |
steps: | |
- name: Get the version | |
id: get_version | |
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "7.4" | |
extensions: intl, mbstring, xml, soap, zip, curl | |
- name: Install EXT:tailor | |
run: composer global require typo3/tailor --prefer-dist --no-progress --no-suggest | |
- name: Upload EXT:${{ env.EXTENSION_KEY }} as ${{ steps.get_version.outputs.VERSION }} to TER | |
run: php ~/.composer/vendor/bin/tailor ter:publish ${{ steps.get_version.outputs.VERSION }} --artefact=${{ env.REPOSITORY_URL }}/archive/${{ steps.get_version.outputs.VERSION }}.zip --comment="New release of version ${{ steps.get_version.outputs.VERSION }} - see details, changelog and documentation on ${{ env.TYPO3_T3TERMINAL_PRODUCT }}" |