add example of pushing tag to origin, use HEAD instead of just tagged branch to avoid detached head warning as should be same
This commit is contained in:
parent
4f7bdda16a
commit
d363e4d283
@ -6,8 +6,8 @@ ECHO tag git with release version -
|
|||||||
git tag -a -m "Tag kernel release %1" ke%1 HEAD
|
git tag -a -m "Tag kernel release %1" ke%1 HEAD
|
||||||
ECHO get a clean tree
|
ECHO get a clean tree
|
||||||
if EXIST ..\SOURCE RMDIR /S /Q ..\SOURCE > NUL
|
if EXIST ..\SOURCE RMDIR /S /Q ..\SOURCE > NUL
|
||||||
git clone -v --local --branch ke%1 . ..\SOURCE\ke%1\
|
::git clone -v --local --branch ke%1 . ..\SOURCE\ke%1\
|
||||||
::git clone -v --local . ..\SOURCE\ke%1\
|
git clone -v --local . ..\SOURCE\ke%1\
|
||||||
|
|
||||||
REM delete files to exclude
|
REM delete files to exclude
|
||||||
RD /S /Q ..\SOURCE\ke%1\.git > NUL
|
RD /S /Q ..\SOURCE\ke%1\.git > NUL
|
||||||
@ -27,3 +27,4 @@ GOTO DONE
|
|||||||
ECHO Tag and build release kernels - usage: RELEASE {VERSION} e.g. RELEASE 2039
|
ECHO Tag and build release kernels - usage: RELEASE {VERSION} e.g. RELEASE 2039
|
||||||
:DONE
|
:DONE
|
||||||
ECHO Please git push the tag to origin and upload the archives.
|
ECHO Please git push the tag to origin and upload the archives.
|
||||||
|
ECHO E.g. git push origin ke%1
|
||||||
|
Loading…
Reference in New Issue
Block a user