Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
upload

GitHub Action

TYPO3 Ter Uploader

v1.0.2

TYPO3 Ter Uploader

upload

TYPO3 Ter Uploader

GitHub Action that helps you upload your Extensions to TER

Installation

Copy and paste the following snippet into your .yml file.

              

- name: TYPO3 Ter Uploader

uses: tomasnorre/[email protected]

Learn more about this action in tomasnorre/typo3-upload-ter

Choose a version

typo3-upload-ter GitHub Action

GitHub Action that helps you upload your Extensions to TER.

!!! This is still work in progress.

Example usage

name: TERUpload

on:
  push:
    tags:
      - "**"

jobs:
  TERUpload:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
    steps:
      - uses: actions/checkout@v1
      - uses: tomasnorre/typo3-upload-ter@v1
        with:
          username: ${{ secrets.TYPO3_ORG_USERNAME }}
          password: ${{ secrets.TYPO3_ORG_PASSWORD }}

Requirement

You have to set your extensionkey in composer.json, this will soon be mandatory in all TYPO3 Extensions.

https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ExtensionArchitecture/ComposerJson/Index.html#extra

Example:

"extra": {
    "typo3/cms": {
        "extension-key": "my_extensionkey",
    }
},

Recommendation

It's recommended to add a prepare-release to your composer.json script-section, if this exists it will run before zipping and uploading.

This can be helpful to ensure that some files are removed before uploading.

Example:

"scripts": {
    "prepare-release": [
        "@extension-create-libs",
        "rm -rf .devbox",
        "rm -rf Tests/",
        "rm .gitignore",
        "rm .scrutinizer.yml",
        "rm disabled.travis.yml"
    ]
}