mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
3ac372ecf8
* Add @types/node * Add checksum script * Update azl pipeline * Update map * Optimised images with calibre/image-actions * Omit checkout * remove * Recreate with exectute permission * Add lovercase for tsting script * Change to chmod 700 * run with sudo * run with sudo * Use SYSTEM_PULLREQUEST_SOURCEBRANCH var to get branch name * Use Bash task * Checksum ERC20 addresses [skip ci] * Add in lowercase for testing * Checksum ERC20 addresses [skip ci] Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
14 lines
406 B
Bash
Executable File
14 lines
406 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ `git status --porcelain --untracked-files=no` ]]; then
|
|
git add .
|
|
git commit -m "Checksum ERC20 addresses [skip ci]"
|
|
echo Current branch
|
|
echo Pushing changes to branch: "$SYSTEM_PULLREQUEST_SOURCEBRANCH"
|
|
echo Current branch $(git branch)
|
|
git status
|
|
git push origin HEAD:"$SYSTEM_PULLREQUEST_SOURCEBRANCH"
|
|
echo Complete
|
|
else
|
|
echo "Nothing to commit"
|
|
fi |