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:
Kenneth J Davis 2021-05-13 23:38:29 -04:00
parent 4f7bdda16a
commit d363e4d283

View File

@ -6,8 +6,8 @@ ECHO tag git with release version -
git tag -a -m "Tag kernel release %1" ke%1 HEAD
ECHO get a clean tree
if EXIST ..\SOURCE RMDIR /S /Q ..\SOURCE > NUL
git clone -v --local --branch ke%1 . ..\SOURCE\ke%1\
::git clone -v --local . ..\SOURCE\ke%1\
::git clone -v --local --branch ke%1 . ..\SOURCE\ke%1\
git clone -v --local . ..\SOURCE\ke%1\
REM delete files to exclude
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
:DONE
ECHO Please git push the tag to origin and upload the archives.
ECHO E.g. git push origin ke%1