Skip to content

Commit a1a263e

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 a1a263e

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

Makefile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,11 @@ uninstall:
3737
done;
3838
rmdir $(DESTDIR)$(BINDIR)
3939

40-
.PHONY: tag
41-
tag:
42-
git describe --exact-match >/dev/null 2>&1 || git tag -s $(shell date +%Y%m%d)
43-
git push --tags
44-
4540
.PHONY: release
4641
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}
42+
git describe --exact-match >/dev/null 2>&1 || git tag -s $(shell date +%Y%m%d)
43+
git push --tags
44+
gh release create --generate-notes ${TAG}
5145

5246
check: check-bash check-python
5347

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ 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 + a release with default changelog (requires `gh`): `make release`

0 commit comments

Comments
 (0)