Skip to content

Commit

Permalink
Merge branch 'main' into release/2.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmr authored Aug 30, 2023
2 parents e6a4490 + 6988f7c commit 4569e48
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-generate-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:

- uses: actions/checkout@v3
# Generate github release notes
- name: Generate release notes
Expand All @@ -36,4 +37,4 @@ jobs:
run: |
# Commit and push
git commit -am "Update release notes"
git push
git push
36 changes: 36 additions & 0 deletions .github/workflows/release-start.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This is a basic workflow that is manually triggered

name: Release start

# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
base_branch:
description: 'Base branch'
required: true
default: 'develop'
type: string
version_name:
description: 'Release version name'
# default: 'World'
required: true
type: string

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
create_branch:
# The type of runner that the job will run on
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
# override vName with new version
- name: Checkout base branch
run: git checkout ${{ inputs.base_branch }}
- name: Create release branch
run: git checkout -b release/${{ inputs.version_name }}
- name: Push
run: git push origin release/${{ inputs.version_name }}

0 comments on commit 4569e48

Please sign in to comment.