How to get tag name available in workflow script

#1

Hi !

I’m new to bitrise and I was wondering something :
Is it possible to get the tag that triggered a workflow ?

For example :
Imagine that my tag “1.0.0-myapp2” and “1.0.0-myapp1” triggered the same workflow, is it possible to use their “name” in the workflow to do something different if it’s myapp1 or myapp2 ?

Thanks !

0 Likes

#2

Hi @Bibas!

BITRISE_GIT_TAG is an env_var exposed by the website by default :slight_smile: You can find out more about these here: https://github.com/bitrise-io/bitrise-plugins-analytics/issues/19

0 Likes

closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes