mirror of
https://github.com/dani-garcia/bw_web_builds.git
synced 2024-12-26 04:18:15 +03:00
add support for annotated tags
This commit is contained in:
parent
f01c4b28f6
commit
2f513f32ea
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ WORKDIR /vault/apps/web
|
|||
RUN npm run dist:oss:selfhost
|
||||
|
||||
RUN printf '{"version":"%s"}' \
|
||||
$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' https://github.com/dani-garcia/bw_web_builds.git 'v*' | tail -n1 | grep -Eo '[^\/v]*$') \
|
||||
$(git -c 'versionsort.suffix=-' ls-remote --tags --refs --sort='v:refname' https://github.com/dani-garcia/bw_web_builds.git 'v*' | tail -n1 | grep -Eo '[^\/v]*$') \
|
||||
> build/vw-version.json
|
||||
|
||||
# Delete debugging map files, optional
|
||||
|
|
|
@ -30,7 +30,7 @@ npm run dist:oss:selfhost
|
|||
|
||||
# Create vw-version.json with the latest tag from the remote repo.
|
||||
printf '{"version":"%s"}' \
|
||||
"$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' https://github.com/dani-garcia/bw_web_builds.git 'v*' | tail -n1 | grep -Eo '[^\/v]*$')" \
|
||||
"$(git -c 'versionsort.suffix=-' ls-remote --tags --refs --sort='v:refname' https://github.com/dani-garcia/bw_web_builds.git 'v*' | tail -n1 | grep -Eo '[^\/v]*$')" \
|
||||
> build/vw-version.json
|
||||
|
||||
popd
|
||||
|
|
Loading…
Reference in a new issue