Skip to content

Release

Release #23

Workflow file for this run

---
name: Release
'on':
workflow_dispatch:
branches:
- main
jobs:
release:
name: Semver release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: |
git config user.name github-actions
git config user.email github-actions@github.com
git config --global user.email github-actions@github.com
git config --global user.name github-actions
- name: Cocogitto release
id: release
uses: oknozor/cocogitto-action@v3.4
with:
release: true
git-user: github-actions
git-user-email: github-actions@github.com
- name: Generate changelog and update doc & lib version
run: >-
cog changelog --at ${{ steps.release.outputs.version }} -t full_hash >
GITHUB_CHANGELOG.md
- name: Upload github release
uses: softprops/action-gh-release@v1
with:
body_path: GITHUB_CHANGELOG.md
tag_name: '${{ steps.release.outputs.version }}'