Skip to content

Commit

Permalink
Change release titles to prioritize more important information
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Nov 27, 2024
1 parent aeac166 commit 18f2aba
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/main-pm-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: ${{ github.workspace }}
pattern: "PHP-${{ inputs.php-version-base }}-*-PM${{ inputs.pm-version-major }}"

- name: Generate release notes
run: |
Expand Down Expand Up @@ -237,31 +238,29 @@ jobs:
if: ${{ inputs.special-release != 'none' }}
with:
artifacts: |
${{ github.workspace }}/PHP-${{ inputs.php-version-base }}-Linux-PM${{ inputs.pm-version-major }}/*.tar.gz
${{ github.workspace }}/PHP-${{ inputs.php-version-base }}-MacOS-*-PM${{ inputs.pm-version-major }}/*.tar.gz
${{ github.workspace }}/PHP-${{ inputs.php-version-base }}-Windows-PM${{ inputs.pm-version-major }}/*.zip
name: PM ${{ inputs.pm-version-major }}.x - Recommended (${{ steps.date.outputs.DATE }})
${{ github.workspace }}/PHP-*-Linux-PM*/*.tar.gz
${{ github.workspace }}/PHP-*-MacOS-*-PM*/*.tar.gz
${{ github.workspace }}/PHP-*-Windows-PM*/*.zip
name: PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - Recommended
tag: pm${{ inputs.pm-version-major }}-latest
commit: ${{ github.sha }}
allowUpdates: true
bodyFile: ${{ github.workspace }}/special-changelog.md
removeArtifacts: true
makeLatest: ${{ inputs.special-release == 'default-latest' }}
prerelease: ${{ inputs.pm-preview == 'true' }}

- name: Update all PM release
uses: ncipollo/[email protected]
with:
artifacts: |
${{ github.workspace }}/PHP-${{ inputs.php-version-base }}-Linux-PM${{ inputs.pm-version-major }}/*.tar.gz
${{ github.workspace }}/PHP-${{ inputs.php-version-base }}-MacOS-*-PM${{ inputs.pm-version-major }}/*.tar.gz
${{ github.workspace }}/PHP-${{ inputs.php-version-base }}-Windows-PM${{ inputs.pm-version-major }}/*.zip
name: PM ${{ inputs.pm-version-major }}.x - All PHP Versions (${{ steps.date.outputs.DATE }})
${{ github.workspace }}/PHP-*-Linux-PM*/*.tar.gz
${{ github.workspace }}/PHP-*-MacOS-*-PM*/*.tar.gz
${{ github.workspace }}/PHP-*-Windows-PM*/*.zip
name: PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - All PHP Versions
tag: pm${{ inputs.pm-version-major }}-all-latest
commit: ${{ github.sha }}
allowUpdates: true
bodyFile: ${{ github.workspace }}/changelog.md
removeArtifacts: true
makeLatest: false
prerelease: ${{ inputs.pm-preview == 'true' }}

0 comments on commit 18f2aba

Please sign in to comment.