Skip to content

Prepare for 3.4.13 release #31

Prepare for 3.4.13 release

Prepare for 3.4.13 release #31

Workflow file for this run

name: Create Release
on:
push:
tags: [ '*' ]
jobs:
release:
# Avoid forks to perform this job.
if: github.repository_owner == 'moodlehq'
name: Create Release
runs-on: ubuntu-22.04
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup PHP 7.3
uses: shivammathur/setup-php@v2
with:
php-version: 7.3
ini-values: phar.readonly = false
- name: Build PHAR
run: |
make build
php build/moodle-plugin-ci.phar list
- name: Extract release notes from changelog
id: extract-release-notes
uses: yashanand1910/[email protected]
with:
changelog_path: docs/CHANGELOG.md
version: ${{ github.ref }}
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: build/moodle-plugin-ci.phar
artifactContentType: application/zip
body: |
${{ steps.extract-release-notes.outputs.release_notes }}
#
Take a look at the [CHANGELOG](https://moodlehq.github.io/moodle-plugin-ci/CHANGELOG.html) for details about other releases.
Please follow [3.0 Upgrade guide](https://moodlehq.github.io/moodle-plugin-ci/UPGRADE-3.0.html) when upgrading from 2.x.