View gist:376bb55744479a9ec6a3918298b05165
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am galvanize on github. | |
* I am caiovmf (https://keybase.io/caiovmf) on keybase. | |
* I have a public key ASD58IJnXpjjcOa_DXOCmxav2oiIqLVw0HV-bxVzH6DImAo | |
To claim this, I am signing this object: |
View get_repo.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Starting curl script" | |
echo "" | |
download_path=$1 | |
echo "download_path: $download_path" | |
local_path=$2 | |
echo "local_path: $local_path" | |
script_path="/your/script/path/get_repo.sh" |
View sign.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Starting sign script" | |
script_path="/your/script/path/sign.sh" | |
if [ -d "$1" ]; then | |
echo "Path exists!" | |
for f in $1/*; do | |
if [[ $f == *"."[a-z][a-z][a-z] ]]; then | |
filename=$(basename "$f") |
View upload_artifacts.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Starting upload script" | |
sonatype_user="<your_user>" | |
sonatype_password="<your_password>" | |
# Path where the files are located | |
path=$1 | |
# Path inside the repo if not root path, (com/package/group) | |
repo_path_base=$2 |
View refactor_pom.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Starting POM script" | |
root_path="/path/to/your/modules" | |
pom_template="/path/to/your/pom_template.xml" | |
# Script assumes root path being the one where the artifact/modules folders are | |
if [ -d "$root_path" ]; then | |
echo "Path exists!" |
View pom_template.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.adyen.checkout</groupId> | |
%%%ARTIFACT%%% | |
%%%VERSION%%% | |
<packaging>aar</packaging> | |
%%%NAME%%% | |
%%%DESCRIPTION%%% | |
<url>https://github.com/Adyen/adyen-android</url> |