change version to 11.0.14 #23
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: DEPLOY | |
on: | |
push: | |
tags: | |
- "**" | |
jobs: | |
TER: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Determine tag" | |
id: "determine-tag" | |
run: "echo \"::set-output name=tag::${GITHUB_REF#refs/tags/}\"" | |
- name: Deploy to TER | |
run: | | |
if [ -n "${{ secrets.TYPO3_ORG_USERNAME }}" ] && [ -n "${{ secrets.TYPO3_ORG_PASSWORD }}" ]; then | |
echo -e "Preparing upload of release ${{ steps.determine-tag.outputs.tag }} to TER\n"; | |
# Install ter client | |
composer global require helhum/ter-client | |
# Build extension files | |
composer extension-release | |
# Upload | |
TAG_MESSAGE=`git log -1 --pretty=%B` | |
echo "Tag-Message: ${TAG_MESSAGE}" | |
echo "Uploading release ${{ steps.determine-tag.outputs.tag }} to TER" | |
$HOME/.composer/vendor/helhum/ter-client/ter-client upload asdis . -u "${{ secrets.TYPO3_ORG_USERNAME }}" -p "${{ secrets.TYPO3_ORG_PASSWORD }}" -m "$TAG_MESSAGE" | |
fi; |