Skip to content

Commit 07bd2bf

Browse files
committed
Update the release process
- Drop the custom made tarball: We now rely on [signed git tags](https://gitlab.archlinux.org/archlinux/packaging/packages/archlinux-contrib/-/commit/50905be547cd72eb1bcd1efab5b988e00781b883) for the package, which is more straightforward and transparent. IMO there's no need to keep creating this extra tarball. - Switch to `gh`: `hub` throws an error (not sure if it's broken or expects something missing) - Document the release process in the README
1 parent 1cea355 commit 07bd2bf

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ tag:
4444

4545
.PHONY: release
4646
release:
47-
mkdir -p releases
48-
git archive --prefix=${REPO}-${TAG}/ -o releases/${REPO}-${TAG}.tar.gz ${TAG};
49-
gpg --detach-sign -o releases/${REPO}-${TAG}.tar.gz.sig releases/${REPO}-${TAG}.tar.gz
50-
hub release create -m "Release: ${TAG}" -a releases/${REPO}-${TAG}.tar.gz.sig -a releases/${REPO}-${TAG}.tar.gz ${TAG}
47+
gh release create --generate-notes $(shell date +%Y%m%d)
5148

5249
check: check-bash check-python
5350

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@ years so they can be curated, cleaned up and maybe become part of the `devtools`
77
package.
88

99
### Contribution guidelines
10+
1011
- Some documentation is needed. This can be comments in the top of the file or
1112
a traditional help command.
1213

1314
- One ACK for each Pull-Request is needed
1415

1516
- Please add [SPDX license header](https://spdx.org/ids-how)
17+
18+
### Release process
19+
20+
- Create and push a signed git tag: `make tag`
21+
22+
- Create a release with default changelog (requires `gh`): `make release`

0 commit comments

Comments
 (0)