Build Release #16
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
name: Build Release | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: 'WebTop Version' | |
required: true | |
jobs: | |
update_create_pr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get current stable version | |
id: get_version | |
run: echo "::set-output name=version::$(cat webtop5-build/VERSION)" | |
- name: Set new version | |
run: echo "wt-${{ github.event.inputs.version }}" > webtop5-build/VERSION | |
- name: Create/Update pull request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
branch: ${{ steps.get_version.outputs.version }}-next | |
title: Update to upstream release wt-${{ github.event.inputs.version }} | |
body: '' | |
commit-message: Update to upstream release wt-${{ github.event.inputs.version }} | |
draft: false | |
token: ${{ secrets.webtop_pr }} |