Skip to content

Commit

Permalink
chore: test release creation from actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraichen committed Mar 26, 2023
1 parent f0592ba commit e58c9e8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
2 changes: 0 additions & 2 deletions .github/release-drafter.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/release-drafter.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ name: test
on:
push:
branches-ignore: [debian]
tags: ['*']
pull_request:
workflow_dispatch:

Expand Down Expand Up @@ -72,3 +73,28 @@ jobs:
bundler-cache: True

- run: bundle exec rubocop --fail-level E --extra-details --display-time --color

release:
if: startsWith(github.ref, 'refs/tags/v')
needs:
- test
- rubocop
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master
- run: git archive --worktree-attributes --format tar.gz -9 --prefix redmine_dashboard/ "${GITHUB_REF_NAME}" > "redmine-dashboard_${GITHUB_REF_NAME}.tar.gz"
- uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
discussion_category_name: Announcements
generate_release_notes: true
body: |
---
### Looking for testers!
Unfortunately, I do not have access to any larger Redmine project anymore, nor am I using Redmine anywhere anymore. I can only test with some artificially constructed local project that cannot represent any real project or usage. I would really appreciate if you can test ${GITHUB_REF_NAME} in your project or organization and report any findings (or their absence). Thank you!
files: |
redmine-dashboard_*.tar.gz

0 comments on commit e58c9e8

Please sign in to comment.