1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 23:24:09 +00:00
zap/.github/workflows/test-git.yml
2023-05-22 22:44:00 +02:00

30 lines
694 B
YAML

name: Create Release, update README, send announcement
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set tag name
id: tag
run: |
echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
- name: Generate release notes
id: release_notes
run: |
echo "${{ steps.tag.outputs.version }}"
git tag -l --format='%(contents)' "${{ steps.tag.outputs.version }}"
tools/announceybot.exe release-notes "${{ steps.tag.outputs.version }}" > relnotes.md
cat relnotes.md