Skip to content

Protocol changes for 1.21.40 (#277) #36

Protocol changes for 1.21.40 (#277)

Protocol changes for 1.21.40 (#277) #36

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Draft release
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
tags: "[0-9]+.[0-9]+.[0-9]+\\+bedrock-[0-9]+.[0-9]+.[0-9]+"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Parse version information
id: version-info
run: |
VERSION=${GITHUB_REF#refs/tags/}
echo ::set-output name=LIB_VERSION::$(echo $VERSION | cut -d '+' -f1)
echo ::set-output name=MC_VERSION::$(echo $VERSION | cut -d '-' -f2)
echo ::set-output name=TAG::$VERSION
- name: Create draft release
uses: ncipollo/[email protected]
with:
commit: ${{ github.sha }}
draft: true
name: ${{ steps.version-info.outputs.LIB_VERSION }} for Minecraft Bedrock ${{ steps.version-info.outputs.MC_VERSION }}
tag: ${{ steps.version-info.outputs.TAG }}
token: ${{ secrets.GITHUB_TOKEN }}