PHP Classes

File: .github/workflows/release.yml

Recommend this page to a friend!
  Classes of Eric Sizemore   PHP Project Template   .github/workflows/release.yml   Download  
File: .github/workflows/release.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Project Template
Generate files for PHP projects from templates
Author: By
Last change:
Date: 1 month ago
Size: 870 bytes
 

Contents

Class file image Download
on: push: tags: - "**" name: "Prepare Release" jobs: publish-release: name: "Publish Release" runs-on: ubuntu-latest timeout-minutes: 10 permissions: contents: write steps: - name: "Checkout" uses: actions/checkout@v4 - name: "Determine tag" run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - name: "Get latest release info" id: query-release-info uses: release-flow/keep-a-changelog-action@v3 with: command: query version: ${{ env.RELEASE_TAG }} - name: "Create release" uses: ncipollo/release-action@v1 with: token: ${{ secrets.GITHUB_TOKEN }} tag: ${{ env.RELEASE_TAG }} name: ${{ env.RELEASE_TAG }} body: "${{ steps.query-release-info.outputs.release-notes }}"