Skip to content

Release

Release #10

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
version:
description: 'Version number, e.g., v1.2.3'
required: true
jobs:
merge-and-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Ensure all branches and tags are fetched
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Merge Alpha into Meta
run: |
git checkout Meta
git merge Alpha
- name: Create tag
run: |
VERSION=${{ github.event.inputs.version }}
git tag $VERSION
git push origin $VERSION
- name: Push changes
run: |
git push origin Meta