chore: prepare 3.1.3 release (#4682)

This commit is contained in:
Matti Nannt
2025-01-28 14:09:45 +01:00
committed by GitHub
parent 69a7a57f41
commit f1d697a83f
2 changed files with 16 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
name: Draft release
run-name: Draft release ${{ inputs.next_version }}
name: Prepare release
run-name: Prepare release ${{ inputs.next_version }}
on:
workflow_dispatch:
@@ -11,9 +11,10 @@ on:
permissions:
contents: write
pull-requests: write
jobs:
draft_release:
prepare_release:
runs-on: ubuntu-latest
steps:
@@ -42,14 +43,20 @@ jobs:
cd apps/web
pnpm version ${{ inputs.next_version }} --no-workspaces-update
- name: Commit changes
- name: Commit changes and create a branch
run: |
branch_name="release-v${{ inputs.next_version }}"
git checkout -b "$branch_name"
git add .
git commit -m "chore: release v${{ inputs.next_version }}"
git push
git push origin "$branch_name"
- name: Draft release
run: gh release create v${{ inputs.next_version }} --generate-notes --draft
- name: Create pull request
run: |
gh pr create \
--base main \
--head "release-v${{ inputs.next_version }}" \
--title "chore: bump version to v${{ inputs.next_version }}" \
--body "This PR contains the changes for the v${{ inputs.next_version }} release."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ inputs.next_version }}

View File

@@ -1,6 +1,6 @@
{
"name": "@formbricks/web",
"version": "3.1.2",
"version": "3.1.3",
"private": true,
"scripts": {
"clean": "rimraf .turbo node_modules .next",