Skip to content

Omit abort on conflict skipping, if no cherry-pick is in progress #5

Omit abort on conflict skipping, if no cherry-pick is in progress

Omit abort on conflict skipping, if no cherry-pick is in progress #5

Workflow file for this run

name: Release
on:
push:
tags:
- '*.*.*'
jobs:
build:
name: Create release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Package
run: make dist VERSION="$GITHUB_REF_NAME"
- name: Changelog
id: changelog
run: |
echo "contents<<CHANGELOGEOF" >> $GITHUB_OUTPUT
sed -e '1,/##/d' -e '/##/,$d' CHANGELOG.md >> $GITHUB_OUTPUT
echo "CHANGELOGEOF" >> $GITHUB_OUTPUT
- name: Create release
id: create_release
uses: shogo82148/actions-create-release@v1
with:
body: ${{ steps.changelog.outputs.contents }}
- name: Upload package
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/dist/git-draft.zip
asset_name: git-draft.zip
asset_content_type: application/zip