-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00b9578
commit 9cd7455
Showing
2 changed files
with
52 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Bump version | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
channel: | ||
type: choice | ||
default: stable | ||
description: Pick channel | ||
options: | ||
- alpha | ||
- beta | ||
- stable | ||
|
||
new-build-for-prerelease: | ||
type: boolean | ||
default: true | ||
description: New build for prerelease | ||
|
||
jobs: | ||
bump-version: | ||
name: Bump version | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v3 | ||
|
||
- name: Generate tag | ||
uses: ./ | ||
id: generate-tag-name | ||
with: | ||
channel: ${{ inputs.channel }} | ||
|
||
- name: Update version | ||
uses: reedyuk/[email protected] | ||
with: | ||
version: ${{ steps.generate-tag-name.outputs.tag-name }} | ||
|
||
- name: Create pull request | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
branch: version/${{ steps.generate-tag-name.outputs.tag-name }} | ||
commit-message: ${{ steps.generate-tag-name.outputs.tag-name }} | ||
title: Bump version to ${{ steps.generate-tag-name.outputs.tag-name }} | ||
body: Automated pull request triggered by a new release. | ||
labels: new-release,ignore-for-release | ||
reviewers: MiguelRipoll23 | ||
draft: true |
This file was deleted.
Oops, something went wrong.