chore: Moved to prerelease workflow

This commit is contained in:
Dennis Ploeger
2021-10-16 19:04:27 +02:00
parent b042d8bf42
commit 03ae73c483

View File

@@ -1,9 +1,9 @@
name: "Release new version" name: "Release new prerelease version"
on: on:
push: push:
branches: branches:
- main - develop
jobs: jobs:
prerelease: prerelease:
@@ -17,11 +17,13 @@ jobs:
token: ${{ secrets.DEPLOYMENT_TOKEN }} token: ${{ secrets.DEPLOYMENT_TOKEN }}
- name: Calculate version - name: Calculate version
id: calculate_version id: calculate_version
uses: mathieudutour/github-tag-action@v5.5 uses: mathieudutour/github-tag-action@v5.6
with: with:
tag_prefix: ""
github_token: ${{ secrets.DEPLOYMENT_TOKEN }} github_token: ${{ secrets.DEPLOYMENT_TOKEN }}
dry_run: true dry_run: true
pre_release_branches: "develop"
append_to_pre_release_tag: "alpha"
default_bump: "release"
- name: "Write changelog" - name: "Write changelog"
run: | run: |
CHANGELOG="" CHANGELOG=""