From dd706c39bd5bf15341be70ff6405442df06ec442 Mon Sep 17 00:00:00 2001 From: Tomas Peterka Date: Tue, 13 Feb 2024 10:06:15 +0100 Subject: [PATCH] chore(ci): add pre release workflow --- .github/workflows/pre-release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/pre-release.yml diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml new file mode 100644 index 0000000..ae2bacf --- /dev/null +++ b/.github/workflows/pre-release.yml @@ -0,0 +1,22 @@ +name: 'What is the next version?' + +on: + workflow_dispatch: + +jobs: + release: + name: Get Next Release + runs-on: ubuntu-latest + steps: + - name: Checkout repository (full-depth) + uses: actions/checkout@v4 + with: { fetch-depth: 0 } # Required to determine version + + - name: Get next release version + uses: dronetag/actions/semantic-release@main + id: semantic + with: + changelog: true + + - name: Changelog + run: echo "${{ steps.semantic.outputs.changelog }}"