Skip to content

Update create_dns_host.md - Allow multiple ipv4 addresses #63

Update create_dns_host.md - Allow multiple ipv4 addresses

Update create_dns_host.md - Allow multiple ipv4 addresses #63

name: Release Drafter
on:
pull_request:
types: [closed]
workflow_dispatch:
permissions:
contents: read
jobs:
update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Required due to the weg Git works, without it this action won't be able to find any or the correct tags
ref: main
- name: version
id: version
run: |
tag=${GITHUB_REF/refs\/tags\//}
version=${tag#v}
major=${version%%.*}
echo "tag=${tag}" >> $GITHUB_OUTPUT
echo "version=${version}" >> $GITHUB_OUTPUT
echo "major=${major}" >> $GITHUB_OUTPUT
- name: Automatic release
uses: release-drafter/release-drafter@v5
with:
version: ${{ steps.version.outputs.version }}
tag-template: 'v$RESOLVED_VERSION'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}