Skip to content

Commit 4a80da9

Browse files
committed
script and markdown files cleanup
1 parent edcc56a commit 4a80da9

File tree

4 files changed

+27
-103
lines changed

4 files changed

+27
-103
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,8 @@ If you find a bug, get an error or the docs are wrong.
5353
* [Create an issue](https://github.com/Xgames123/git-credential-github/issues/new/)
5454
* Message me <[[email protected]](mailto://[email protected])>
5555
* Message me on discord [ldev105](https://ldev.eu.org/socials/discord)
56+
57+
58+
# Building debian packages from source
59+
1. install [reltools](https://github.com/Xgames123/reltools)
60+
2. run makepkg_deb inside the packaging directory

TODO_RELEASE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44

55
6. bump aur/PKGBUILD
66
7. makepkg_deb.sh
7-
8. regen checksums (aur/PKGBUILD)
7+
8. regen checksums (aur/PKGBUILD) and .SRCINFO
8+
9. close issues fixed in release

packaging/makepkg_deb.sh

Lines changed: 0 additions & 102 deletions
This file was deleted.

verify.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# script to verify versions
2+
3+
cargo_ver=$(rg -or "\$1" "^version[\t ]*=[\t ]*\"([0-9]\.[0-9]\.[0-9])\"" Cargo.toml)
4+
echo "version: $cargo_ver"
5+
pkg_ver=$(rg -or "\$1" "^pkgver=[\t ]*([0-9]\.[0-9]\.[0-9])" packaging/PKGBUILD)
6+
7+
git_ver=$(git tag | tail -n 1)
8+
9+
10+
if [ "$cargo_ver" != "$pkg_ver" ] ; then
11+
echo "PKGBUILD version '$pkg_ver' doesn't match $cargo_ver"
12+
exit -1
13+
fi
14+
15+
if [ "$git_ver" != "$cargo_ver" ] ; then
16+
echo "git tag '$git_ver' doesn't match version $cargo_ver"
17+
exit -1
18+
fi
19+
20+
echo "ALL CHECKS OK"

0 commit comments

Comments
 (0)