Skip to content

Added a workflow for release automation #10

Added a workflow for release automation

Added a workflow for release automation #10

Workflow file for this run

name: Release
on:
pull_request:
branches:
- develop
jobs:
release:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_VERSION: '${GITHUB_HEAD_REF#maintenance/}'
steps:
- name: Draft the release
run: |
echo '${GITHUB_HEAD_REF#maintenance/}'
echo 'Release ${GITHUB_HEAD_REF#maintenance/}'
echo $RELEASE_VERSION
echo 'Release ${RELEASE_VERSION}'
echo "Release $RELEASE_VERSION"