Skip to content

Release Next Version #13

Release Next Version

Release Next Version #13

Workflow file for this run

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 "github-actions@github.com"
- 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 <github-actions@github.com>
committer: github-actions <github-actions@github.com>
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 }}