7.2.4 #65
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2022 Nextcloud contributors | |
# SPDX-License-Identifier: AGPL-3.0-or-later | |
name: Draft Release | |
on: | |
push: | |
tags: | |
- v* | |
- '!v*-*' | |
jobs: | |
checkout: | |
runs-on: ubuntu-latest | |
name: Release | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate app version of info.xml against tag name | |
id: appinfo | |
uses: ./.github/actions/get-polls-version | |
- name: Setup node | |
if: success() | |
uses: ./.github/actions/setup-node | |
- name: build | |
run: npm run build --if-present | |
- name: Extract release notes | |
if: success() | |
id: extract-release-notes | |
uses: ffurrer2/extract-release-notes@v2 | |
- name: Draft Release | |
if: success() | |
uses: softprops/action-gh-release@v2 | |
with: | |
body: "# Changelog ${{ steps.appinfo.outputs.app-version }} \n ${{ steps.extract-release-notes.outputs.release_notes }} " | |
prerelease: false | |
draft: true | |
generate_release_notes: true |