Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 6adab142 authored by Deepak Khatri's avatar Deepak Khatri :dog:
Browse files

Run using commit tag macro

parent 3ed3177f
Branches
Tags 1.0.20230720-wip6
No related merge requests found
......@@ -121,7 +121,7 @@ elif [ "$CI_COMMIT_TAG" != "" ]; then
export GITLAB_USER=docs
export GITLAB_HOST=$CI_SERVER_HOST
export PROJECT_REPO=docs.beagleboard.io
export GIT_BRANCH=$(git branch -a --contains tags/0.0.20230323 | grep origin | tr -d '* ' | sed 's/.*origin\///' | head -n 1)
export GIT_BRANCH=$(git branch -a --contains tags/$CI_COMMIT_TAG | grep origin | tr -d '* ' | sed 's/.*origin\///' | head -n 1)
export PROJECT_BRANCH=$GIT_BRANCH
if [ "$GIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]; then
export VER_DIR=latest
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment