Skip to content

Bump express from 4.18.2 to 4.19.2 in /install.ztnet #200

Bump express from 4.18.2 to 4.19.2 in /install.ztnet

Bump express from 4.18.2 to 4.19.2 in /install.ztnet #200

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@09c613e259eb8d4e7c81c2cb00618eb5fc4575a7 # v5.25.0
with:
version: ${{ steps.version.outputs.version }}
# tag-template: 'v$RESOLVED_VERSION'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}