Release Next Version #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: Release Next Version | |
on: | |
workflow_dispatch: | |
inputs: | |
release_tag: | |
description: 'Release Tag' | |
required: true | |
type: string | |
env: | |
NEW_VERSION: ${{ github.event.inputs.release_tag }} | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
fetch-depth: 0 | |
token : ${{ secrets.PROJECT_TOKEN }} | |
- name: Modify for next release | |
run: | | |
chmod +x release.sh | |
./release.sh ${{ env.NEW_VERSION }} | |
git diff | |
git config user.name "github-actions" | |
git config user.email "[email protected]" | |
- name: Create Pull Request | |
id: create-pr | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
token: ${{ secrets.PROJECT_TOKEN }} | |
commit-message: 'release: clickstream Swift ${{ env.NEW_VERSION }}' | |
title: 'release: clickstream Swift ${{ env.NEW_VERSION }}' | |
author: github-actions <[email protected]> | |
committer: github-actions <[email protected]> | |
signoff: true | |
body: | | |
## Description | |
1. release: clickstream Swift ${{ env.NEW_VERSION }} | |
## General Checklist | |
<!-- Check or cross out if not relevant --> | |
- [x] Added new tests to cover change, if needed | |
- [x] Build succeeds using Swift Package Manager | |
- [x] All unit tests pass | |
- [x] Documentation update for the change if required | |
- [x] PR title conforms to conventional commit style | |
- [x] If breaking change, documentation/changelog update with migration instructions | |
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. | |
labels: release | |
branch: release_${{ env.NEW_VERSION }} |