Skip to content

fix: update package version 6 documentation (#314) #58

fix: update package version 6 documentation (#314)

fix: update package version 6 documentation (#314) #58

Workflow file for this run

name: Merge into main branch
on:
push:
branches: [ master ]
jobs:
prepare:
name: Calculate Version
runs-on: ubuntu-20.04
outputs:
new_release: ${{ steps.semantic.outputs.new_release_published }}
release: ${{ steps.semantic.outputs.new_release_version }}
release_notes: ${{ steps.semantic.outputs.new_release_notes }}
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.ACCESS_TOKEN }}
- uses: cycjimmy/semantic-release-action@v3
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
dry_run: true
prerelease:
if: needs.prepare.outputs.new_release == 'true'
name: Create Pre-Release
runs-on: ubuntu-20.04
needs: prepare
steps:
- uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
VERSION: ${{ needs.prepare.outputs.release }}
with:
tag_name: ${{ env.VERSION }}
release_name: ${{ env.VERSION }}
body: ${{ needs.prepare.outputs.release_notes }}
draft: false
prerelease: true