mirror of
https://github.com/11notes/docker-bind.git
synced 2025-10-23 00:02:09 +00:00
32 lines
716 B
YAML
32 lines
716 B
YAML
name: create release notes
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "*"
|
|
- "!amd64*"
|
|
- "!arm64*"
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
release:
|
|
name: release
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
working-directory: ./
|
|
steps:
|
|
- name: create release notes
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
tag: ${{ github.ref_name }}
|
|
run: |
|
|
set -ex; \
|
|
wget -O ./RELEASE.md https://raw.githubusercontent.com/${GITHUB_REPOSITORY}/refs/heads/master/RELEASE.md; \
|
|
gh release create "$tag" \
|
|
--repo="$GITHUB_REPOSITORY" \
|
|
--title="${tag#v}" \
|
|
-F ./RELEASE.md |