We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 229ebd0 commit 75016abCopy full SHA for 75016ab
1 file changed
.github/workflows/calculate-next-version.yml
@@ -0,0 +1,23 @@
1
+name: Calculate Next Version
2
+on:
3
+ workflow_call:
4
+ outputs:
5
+ version:
6
+ description: "The next version formatted to use with release-drafter"
7
+ value: ${{ format('{0}', jobs.calculate_next_version.outputs.version) }}
8
+ version-unformatted:
9
+ description: "The next version"
10
+ value: ${{ jobs.calculate_next_version.outputs.version }}
11
+
12
+jobs:
13
+ calculate_next_version:
14
+ name: Calculate next release version
15
+ runs-on: ubuntu-latest
16
17
+ version: ${{ steps.version.outputs.next-version }}
18
+ steps:
19
+ - name: Run version drafter
20
+ id: version
21
+ uses: patrickjahns/version-drafter-action@v1
22
+ env:
23
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments