Skip to content
Snippets Groups Projects
Commit 1ea15489 authored by Dmitry Travyan's avatar Dmitry Travyan :bus: Committed by Yaroslav Dynnikov
Browse files

ci: fix missing tags on mac

parent 5fd6ca96
No related branches found
No related tags found
1 merge request!630feat: fix no tags can describe for mac
Pipeline #21750 passed
......@@ -518,6 +518,7 @@ deploy-macos-arm:
PKGNAME: 'picodata'
BUILDDIR: 'build_mac_arm'
script: |
until git describe; do git fetch --deepen 100; done
VER=$(git describe --long | gsed -n 's/^\([0-9\.]*\)-\([0-9]*\)-\([a-z0-9]*\)/\1.\2/p')
MAJOR=$(echo $VER | cut -f 1-2 -d '.')
curl -v -H "Authorization: Basic $RAW_AUTH_RW" --upload-file $BUILDDIR/$PKGNAME-$VER.tar.gz $RAW_REGISTRY/brew/packages/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment