remove notification on releases and change to draft

Signed-off-by: dartcafe <github@dartcafe.de>
This commit is contained in:
dartcafe 2024-09-12 23:27:17 +02:00
Родитель 9c67a68217
Коммит f50f6066fc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: CCE73CEF3035D3C8
1 изменённых файлов: 2 добавлений и 38 удалений

40
.github/workflows/publish_release.yml поставляемый
Просмотреть файл

@ -14,7 +14,7 @@ jobs:
name: Release
steps:
- uses: actions/checkout@v4
- name: Check correct app version
- name: Validate app version of info.xml against tag name
id: appinfo
uses: ./.github/actions/get-polls-version
@ -22,31 +22,9 @@ jobs:
if: success()
uses: ./.github/actions/setup-node
- name: Setup composer and PHP
if: success()
uses: ./.github/actions/setup-composer
with:
mode: production
php-tools: composer
- name: build
run: npm run build --if-present
- name: Make appstore package ${{ steps.appinfo.outputs.app-version }}
if: success()
run: make package
- name: rename packages to polls-${{ steps.appinfo.outputs.app-version }}
if: success()
run: mv build/artifacts/appstore/polls.tar.gz build/artifacts/appstore/polls-${{ steps.appinfo.outputs.app-version }}.tar.gz
- name: create zip archive from sources
if: success()
run: |
pushd build/source
zip -r ../artifacts/appstore/polls-${{ steps.appinfo.outputs.app-version }}.zip *
popd
- name: Extract release notes
if: success()
id: extract-release-notes
@ -58,19 +36,5 @@ jobs:
with:
body: "# Changelog ${{ steps.appinfo.outputs.app-version }} \n ${{ steps.extract-release-notes.outputs.release_notes }} "
prerelease: false
draft: false
draft: true
generate_release_notes: true
files: |
build/artifacts/appstore/polls-${{ steps.appinfo.outputs.app-version }}.tar.gz
build/artifacts/appstore/polls-${{ steps.appinfo.outputs.app-version }}.zip
- name: Create release notification issue
if: success()
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASENOTES: ${{ steps.extract-release-notes.outputs.release_notes }}
VERSION: ${{ steps.appinfo.outputs.app-version }}
TAG: ${{ steps.appinfo.outputs.tag-version }}
with:
filename: .github/RELEASE_NOTIFICATION.md