mirror of
https://github.com/gpac/gpac.git
synced 2026-01-12 00:05:22 +08:00
windows: better sanitize branch names when building PR to align with linux [noCI]
This commit is contained in:
@@ -60,6 +60,9 @@ set "BRANCH=%BRANCH:<=-%"
|
|||||||
set "BRANCH=%BRANCH:>=-%"
|
set "BRANCH=%BRANCH:>=-%"
|
||||||
set "BRANCH=%BRANCH:|=-%"
|
set "BRANCH=%BRANCH:|=-%"
|
||||||
set "BRANCH=%BRANCH:@=-%"
|
set "BRANCH=%BRANCH:@=-%"
|
||||||
|
set "BRANCH=%BRANCH:_=-%"
|
||||||
|
set "BRANCH=%BRANCH:(=-%"
|
||||||
|
set "BRANCH=%BRANCH:)=-%"
|
||||||
|
|
||||||
|
|
||||||
REM remove anotated tag from VERSION
|
REM remove anotated tag from VERSION
|
||||||
|
|||||||
@@ -15,6 +15,9 @@ set "BRANCH=%BRANCH:<=-%"
|
|||||||
set "BRANCH=%BRANCH:>=-%"
|
set "BRANCH=%BRANCH:>=-%"
|
||||||
set "BRANCH=%BRANCH:|=-%"
|
set "BRANCH=%BRANCH:|=-%"
|
||||||
set "BRANCH=%BRANCH:@=-%"
|
set "BRANCH=%BRANCH:@=-%"
|
||||||
|
set "BRANCH=%BRANCH:_=-%"
|
||||||
|
set "BRANCH=%BRANCH:(=-%"
|
||||||
|
set "BRANCH=%BRANCH:)=-%"
|
||||||
|
|
||||||
REM remove anotated tag from VERSION
|
REM remove anotated tag from VERSION
|
||||||
setlocal enabledelayedexpansion
|
setlocal enabledelayedexpansion
|
||||||
|
|||||||
Reference in New Issue
Block a user