Merging upstream version 0.0.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
2308adea4c
commit
725962f958
3 changed files with 30 additions and 0 deletions
22
.github/workflows/release.yaml
vendored
Normal file
22
.github/workflows/release.yaml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
name: release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Archive
|
||||
run: make inotify-info-${{ github.ref_name }}.tar.gz
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
with:
|
||||
files: inotify-info-${{ github.ref_name }}.tar.gz
|
||||
generate_release_notes: true
|
||||
draft: true
|
||||
prerelease: true
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,4 @@
|
|||
_debug/
|
||||
_release/
|
||||
|
||||
/inotify-info-v*.tar.gz
|
||||
|
|
6
Makefile
6
Makefile
|
@ -109,3 +109,9 @@ clean:
|
|||
$(VERBOSE_PREFIX)$(RM) $(OBJS)
|
||||
$(VERBOSE_PREFIX)$(RM) $(OBJS:.o=.d)
|
||||
$(VERBOSE_PREFIX)$(RM) $(OBJS:.o=.dwo)
|
||||
|
||||
define RELEASE_RULES
|
||||
inotify-info-$(TAG).tar.gz:
|
||||
git archive --prefix=inotify-info-$(TAG)/ $(TAG) | gzip -n > $$@
|
||||
endef
|
||||
$(foreach TAG,$(shell git tag 2>/dev/null),$(eval $(RELEASE_RULES)))
|
||||
|
|
Loading…
Add table
Reference in a new issue