Skip to content

Pre release

Pre release #7

Workflow file for this run

---
name: Pre release
on:
workflow_dispatch:
inputs:
ref:
description: "Branch or tag ref to run the workflow on"
required: true
default: "main"
version:
description: "The version to release (e.g. 1.2.3). This workflow will automatically perform the required version bumps"
required: true
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}
jobs:
pre-release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: elastic/apm-pipeline-library/.github/actions/setup-git@current
with:
token: ${{ secrets.EPHEMERAL_GH_TOKEN }}
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
token: ${{ secrets.EPHEMERAL_GH_TOKEN }}
fetch-depth: 0
- name: Install environment
uses: ./.github/workflows/env-install
- name: Run pre-release step
run: poetry run poe release:pre
env:
RELEASE_VERSION: ${{ inputs.version }}