first commit
This commit is contained in:
16
development/get-git-repo.yaml
Normal file
16
development/get-git-repo.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
# yaml-language-server: $schema=https://git.jesof.ch/public/mstr-schemas/raw/branch/main/mstr-tasks-schema.json
|
||||
tasks:
|
||||
- execute:
|
||||
description: "Get git repo and owner name"
|
||||
exec: "git"
|
||||
dir: "."
|
||||
args:
|
||||
- "config"
|
||||
- "--get"
|
||||
- "remote.origin.url"
|
||||
parsers:
|
||||
- name: "Get gitRepo"
|
||||
parser: "regexp"
|
||||
expression: "(?m)(?P<text>\\w*).git$"
|
||||
variables:
|
||||
- "gitRepo"
|
||||
Reference in New Issue
Block a user