Skip to content

Commit

Permalink
Merge pull request #405 from Yoast/task/update-releases
Browse files Browse the repository at this point in the history
[TASK] Update release comments and excluded some more files from TER packaging
  • Loading branch information
haassie authored Dec 23, 2020
2 parents 357431d + 162d280 commit 289f9ef
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
8 changes: 8 additions & 0 deletions .Build/ExcludeFromPackaging.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
'.Build'
],
'files' => [
'.gitignore',
'.php_cs',
'.phplint.yml',
'bower.json',
'babel.config.js',
'codeception.yml',
'composer.lock',
'crowdin.yaml',
Expand All @@ -42,10 +46,14 @@
'php_cs',
'phplint.yml',
'phpstan.neon',
'phpstan.cms8.neon',
'phpstan.cms9.neon',
'phpstan.cms10.neon',
'phpunit.xml',
'scrutinizer.yml',
'styleci.yml',
'stylelintrc',
'token.txt',
'travis.yml',
'webpack.config.js',
'webpack.mix.js',
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/ter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,5 @@ jobs:
run: |
echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
- name: Get comment
id: get-comment
run: |
readonly local comment=$(git tag -n10 -l ${{ steps.get-version.outputs.version }} | sed "s/^[0-9.]*[ ]*//g")
if [[ -z "${comment// }" ]]; then
echo ::set-output name=comment::Released version ${{ steps.get-version.outputs.version }} of EXT:yoast_seo
else
echo ::set-output name=comment::$comment
fi
- name: Publish to TER
run: TYPO3_API_USERNAME=${{ secrets.TYPO3_API_USERNAME }} TYPO3_API_PASSWORD=${{ secrets.TYPO3_API_PASSWORD }} TYPO3_API_TOKEN=$(awk '/Access token:(.*)/ { print $3 }' token.txt) TYPO3_EXCLUDE_FROM_PACKAGING=./.Build/ExcludeFromPackaging.php vendor/bin/tailor ter:publish --comment "${{ steps.get-comment.outputs.comment }}" ${{ steps.get-version.outputs.version }} yoast_seo
run: TYPO3_API_USERNAME=${{ secrets.TYPO3_API_USERNAME }} TYPO3_API_PASSWORD=${{ secrets.TYPO3_API_PASSWORD }} TYPO3_API_TOKEN=$(awk '/Access token:(.*)/ { print $3 }' token.txt) TYPO3_EXCLUDE_FROM_PACKAGING=./.Build/ExcludeFromPackaging.php vendor/bin/tailor ter:publish --comment "Check https://github.com/Yoast/Yoast-SEO-for-TYPO3/blob/master/CHANGELOG.md for the latest changes." ${{ steps.get-version.outputs.version }} yoast_seo
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ We will follow [Semantic Versioning](http://semver.org/).
## Yoast SEO Premium for TYPO3
Besides the free version of our plugin, we also have a premium version. The free version enables you to do all necessary optimizations. With the premium version, we make it even easier to do! More information can be found on https://www.maxserv.com/yoast.

## 7.1.3 December 23, 2020
### Fixed
* Excluded some more unnecessary files and folders from the TER release
* Changed comment for TER release and mention this changelog

## 7.1.2 December 23, 2020
### Fixed
* Excluded unnecessary files and folders from the TER release so it is not to big to publish
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'dependencies' => '',
'state' => 'stable',
'uploadfolder' => 0,
'version' => '7.1.2',
'version' => '7.1.3',
'constraints' => [
'depends' => [
'typo3' => '8.7.0-10.4.99',
Expand Down

0 comments on commit 289f9ef

Please sign in to comment.