Environmental Variable in <version_command>

classic Classic list List threaded Threaded
1 message Options
D K
| Threaded
Open this post in threaded view
|

Environmental Variable in <version_command>

D K
Is it possible to use environment variables within <version_command>? I'm trying to use git commit information as the version ID in galaxy where the path $GITREPO can change:

e.g.
<version_command>git --git-dir="$GITREPO/project.git" log -n 1 origin/master  | grep -P "commit|Author|Date"</version_command>

Thanks!

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/