Skip to content

v0.1.3

v0.1.3 #7

Workflow file for this run

name: Release
on:
release:
types:
- released
concurrency: release
jobs:
info:
name: Get release version
runs-on: ubuntu-latest
outputs:
version: "${{ fromJSON(steps.version.outputs.version) }}"
next_version: "${{ fromJSON(steps.version.outputs.next_version) }}"
steps:
- uses: actions/checkout@v3
- name: Gather info
id: version
run: |
TAG="${{ github.event.release.tag_name }}"
VERSION="${TAG#v}" # remove prefix
./.github/scripts/set-output version "${VERSION}"
NEXT_VERSION="$(.github/scripts/get-next-version "${VERSION}")"
./.github/scripts/set-output next_version "${NEXT_VERSION}"
release-pr:
name: Post-Release PR
needs: [info]
uses: ./.github/workflows/release-pr.yml
with:
version: ${{ needs.info.outputs.version }}
next_version: ${{ needs.info.outputs.next_version }}
release_notes: ${{ github.event.release.body }}
secrets: inherit