File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,10 @@ Testing things:
16
16
$ sudo GK_SHARE="$PWD" ./genkernel initramfs --no-install --no-postclear --loglevel=2
17
17
18
18
Rolling a release:
19
- - Bump the version in the main genkernel file.
20
- - make dist # verify it can build.
19
+ - export PV="NEWVER"
20
+ - Bump the version in the main genkernel file:
21
+ - sed -i "/^GK_V=/s/='.*'$/='$PV'/" genkernel
22
+ - make dist UNCLEAN=1 # verify it can build.
21
23
- git commit -s -a -m "Bump version to ${PV}"
22
24
- git tag -s -a -m "Tag release v${PV}" v${PV}
23
25
- make dist # Real tarball
Original file line number Diff line number Diff line change @@ -28,8 +28,12 @@ clean:
28
28
rm -f $(EXTRA_DIST )
29
29
30
30
check-git-repository :
31
+ ifneq ($(UNCLEAN ) ,1)
31
32
git diff --quiet || { echo 'STOP, you have uncommitted changes in the working directory' ; false ; }
32
33
git diff --cached --quiet || { echo 'STOP, you have uncommitted changes in the index' ; false ; }
34
+ else
35
+ @true
36
+ endif
33
37
34
38
dist : verify-doc check-git-repository distclean $(EXTRA_DIST )
35
39
mkdir " $( distdir) "
You can’t perform that action at this time.
0 commit comments