Add upstream release bot and enable packit
This commit is contained in:
parent
78ed04dbd6
commit
7743d20af9
2 changed files with 41 additions and 0 deletions
16
.github/workflows/release.yml
vendored
Normal file
16
.github/workflows/release.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
name: "Create GitHub release"
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Upstream release
|
||||
uses: osbuild/release-action@main
|
||||
with:
|
||||
token: "${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}"
|
||||
slack_webhook_url: "${{ secrets.SLACK_WEBHOOK_URL }}"
|
||||
25
.packit.yaml
Normal file
25
.packit.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# https://packit.dev/docs/configuration/
|
||||
|
||||
specfile_path: koji-osbuild.spec
|
||||
|
||||
synced_files:
|
||||
- koji-osbuild.spec
|
||||
- .packit.yaml
|
||||
|
||||
upstream_package_name: koji-osbuild
|
||||
downstream_package_name: koji-osbuild
|
||||
|
||||
copy_upstream_release_description: true
|
||||
|
||||
upstream_tag_template: v{version}
|
||||
|
||||
actions:
|
||||
get-current-version: bash -c "git describe --tags --abbrev=0 | sed 's|v||'"
|
||||
|
||||
create_pr: true
|
||||
jobs:
|
||||
- job: propose_downstream
|
||||
trigger: release
|
||||
metadata:
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
Loading…
Add table
Add a link
Reference in a new issue