Setup mark installation (#1)
This commit is contained in:
36
.github/workflows/release.yml
vendored
Normal file
36
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
name: Release
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
push:
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
|
||||
jobs:
|
||||
create-release:
|
||||
name: Create release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout ${{ github.repository }}
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Get changelog
|
||||
id: changelog
|
||||
uses: simbo/changes-since-last-release-action@v1
|
||||
- name: Create release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
name: ${{ github.ref_name }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
body: |
|
||||
# Changelog
|
||||
|
||||
${{ steps.changelog.outputs.log }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Bump tags
|
||||
uses: fischerscode/tagger@v0
|
||||
with:
|
||||
prefix: v
|
||||
Reference in New Issue
Block a user