Skip to content

Commit

Permalink
remove notification on releases and change to draft
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <[email protected]>
  • Loading branch information
dartcafe committed Sep 12, 2024
1 parent 9c67a68 commit f50f606
Showing 1 changed file with 2 additions and 38 deletions.
40 changes: 2 additions & 38 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,39 +14,17 @@ 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

- name: Setup node
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
Expand All @@ -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

0 comments on commit f50f606

Please sign in to comment.