We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee8dc41 commit 5889a9cCopy full SHA for 5889a9c
1 file changed
orb.yml
@@ -300,8 +300,8 @@ commands:
300
REPONAME_HASH=$(echo -n $REPONAME | shasum -a 256 | cut -c 1-4 )
301
REPONAME_TRUNCATED=$(echo $REPONAME | cut -c 1-15 | sed 's/^\(.*\)-$/\1/' )
302
# Truncate long names
303
- if [ ${#BRANCHNAME} -ge 25 ]; then BRANCHNAME=$BRANCHNAME_TRUNCATED-$BRANCHNAME_HASH; fi;
304
- if [ ${#REPONAME} -ge 25 ]; then REPONAME=$REPONAME_TRUNCATED-$REPONAME_HASH; fi;
+ if [ ${#BRANCHNAME} -ge 20 ]; then BRANCHNAME=$BRANCHNAME_TRUNCATED-$BRANCHNAME_HASH; fi;
+ if [ ${#REPONAME} -ge 20 ]; then REPONAME=$REPONAME_TRUNCATED-$REPONAME_HASH; fi;
305
echo "export RELEASE_NAME='$REPONAME--$BRANCHNAME'" >> $BASH_ENV
306
307
gcloud-login:
0 commit comments