Correcting scripts and adding new ones

This commit is contained in:
Matheus Albino Brunhara
2024-02-22 14:14:27 -03:00
parent 160476e536
commit daf1fc453c
3 changed files with 7 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
cdk_version=$1
cdk_paths_unfiltered=$(jf rt search --recursive=false 'cpqd-snapshot/br/com/cpqd/**/13.30.132-SNAPSHOT/' | jq -r '.[].path')
cdk_paths_unfiltered=$(jf rt search --recursive=false "cpqd-snapshot/br/com/cpqd/**/$cdk_version/" | jq -r '.[].path')
cdk_paths=$(for p in ${cdk_paths_unfiltered[@]}; do dirname $p; done | uniq)
# needs pwd to be in PATH

View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo 'url=https://bitbucket.cpqd.com.br/' | git credential reject

View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo 'url=https://github.com/' | git credential reject